EditorPlan72

Revision as of 08:56, 30 October 2011 by Sdedic (Talk | contribs)

Disclaimer: The content of this NetBeans development wiki page is intended for pre-planning purposes ONLY. The development, release, and timing of any feature or functionality described here should not be treated as final, and is subject to change at any time at the sole discretion of Oracle. For information about NetBeans software releases please visit the NetBeans Roadmap.

Contents

Planning for NetBeans 7.2 (JET Team)

High Level Plan

Plan for previous release

Plan for further releases

Input from the marketing team

CSL Plans

GUI Builder Plan for 7.2

Refactoring Plans for 7.2

JavaFX Plans for 7.2

Performance

Full text index

Find Usages and related refactorings for methods and fields can be made faster (Issue 169958 (wontfix???), Issue 120145 (fixed ????)) - a full text index would be very helpful (Tomas,5)

Remove obsolete code in editor

Lower the editor memory footprint by removing the old Syntax (the former version of lexer) and old syntax-based indenter.

Editor Performance improvements

Document Content Management

Issue 196508 - Improve document content of BaseDocument - Editor document content management will start to share existing positions with the same offset for multiple clients.

Annotation Handling Performance

Issue 197747 - Performance improvements of org.netbeans.editor.Annotations and related classes

Transactional index

Image:no_EditorPlan68.png (Issue 182653) Use data from old index while indexing is running (where possible) 60 days

Some features like Lucene Indexes already lock the index only in time of index update not during the whole indexing but the index reader client is negatively affected by the IO. Improving the index caching should help, see Improve Go To Type.

Complete Transactional Index support requires several changes:

  • The threading model of parsing has to be changed from a single dedicated parser thread to a concurrent model where the indexer (parser) is called by a non dedicated thread concurrently to the parser thread. This is an incompatible API change in the threading model which may affect existing languages depending on the single threaded model. On the other hand the Indexing API never declared the single threaded model.
  • The disk caches have to be transactional. The Lucene index supports transactions, but a custom storage implementation such as Java Signature Files have to be updated to support transactions as well. The transactional cache introduces higher IO load as the disk operations are done twice (the first time in a log phase, the second time in a commit phase - simpler).
  • The biggest problem is how to avoid OOM situations. Currently the dedicated parser thread uses VM telemetry to prevent OOME. This approach will not work as there will be more parsing threads running concurrently and consuming memory.
  • The JavaCustomIndexer and JavaBinaryIndexer have to be rewritten so that they can handle requests even before the up-to-date check is finished.

Misc performance improvements

Issue 187282 (cndreq, API) Allow to exclude embedded langs for source root (Tomas, 5 days)

Issue 186744 (marked as fixed in 7.0???) (API) Adding library causes huge I/O load - deleting files on background does not solve the problem, it's already done on background. The rename and clean up in idleIO will work fine. But the idleIO is not an API (even friend API). It's in the MasterFS FileChangeManager. This requires an idleIO to be added at least into the ProvidedExtensions like runPriorityIO. (Tomas, 2 days)

Issue 195814 Improve Go To File performance for non source file. The Go To File has two parts. The first one is handling source files and is provided by parsing.api. This part is reasonably fast (for typical set up < 1s). The second part handles files which are not under source roots (parsing.api does not know about them) and it does file system search. The second part may take minutes. (Tomas, 5 days)

Make indexers cancelable, see Issue 197811 (Tomas, 10 days)

New features

Misc Features

Issue 196937 - Drag and drop of a Web Service client code into Java ME project for Telefonica (Anton)

JavaFX 2 Support

Issue 198730 - CSS3 support for FX 2 (Anton)

Issue 202090 - JFX Platform Registration (Tomas)

Java Project Improvements

Issue 123464 Improve UI for resolving broken references (Tomas, 10 days)

Issue 193436 Allow library registration using AnnotationProcessor (Tomas, 2 days)

Issue 174506 Run File for any java file with main methods should accept command line parameters (Tomas, 3 days)

Issue 139865 Cannot run Applet project (Tomas, 3 days)

Improve creation of a Java Project From Existing Sources Issue 194533 and Issue 190242. Partially done in NB 6.9, the wizard is now able to find source roots in selected folder but it should do it automatically for base project folder. The base project folder should be accessible from files tab as requested in Issue 194533. (Tomas, 5 days)

Issue 197734 Modify J2SEProject build scripts to use TestNG if available (Tomas, 10 days)

General Infrastructure Improvements

Issue 144579 (cndreq, API) Add support for child nodes to MimeLookup Preferences

Issue 180262 Incorrect check of indexer's being up-to-date (Tomas, 5 days)

Move stable part of java.api.common into regular api (java.project). Currently there in no way how 3rd party project implementors can use the utilities in java.api.common which causes copy paste programming. At least some parts of this module like QuerySupport should be cleaned up and moved to stable API. (Tomas, 5 days)

Remove implementation dependency of java.source on parsing.api. A support friend bridge module has to be created. The parsing.api and java.source will depend on it. (Tomas, 15 days)

Make parsing.api a stable API. The parsing.api is a base API for any language implementation in the IDE. But the API is still in development mode. The parsing.api should become a stable API. (Tomas, 1 days)

Improve java caches to support Annotation Processors generating java source from multiple source files, see Issue 196104 (Tomas, 5 days)

Editor Usability Improvements

Issue 89607 Double-click-drag-select and Triple-click-drag-select

Issue 197522 - Improve support for RTL text

Issue 116926 - Show whitespace

Issue - Code Breadcrumbs

Issue - Only show section

Issue 13857 - Cutting/Copying vertical blocks of text: Rectangular Edit Tools

Issue - Reformat on Paste

Issue 155422 - Transfer Types on Paste

Issue - Block coloring

Issue - Middle Click scroll -

Issue - Unsurround

Issue - Advanced Bookmarks

Issue 140719 - Save Actions

Issue 56401 - Extended Clipboard

Javadoc Improvements

  • Embedded html editing in javadoc comments

Preview

Server Side Queries

To support quick navigation through and exploration of large projects. Possible supported queries:

  • Go to Type/File(/possibly Symbol) (Honza L., Honza B., Tomas, 15)
  • Find Usages through whole project (all known projects), even those not opened in the IDE. (Honza L., Honza B., 20)
  • Prototype downloadable indexes that would eliminate initial scan, infrastructure done in NB 7.1 (Honza L, Tomas).

Code completion productivity

Show most useful completion items at the top - extension of smart (type) code completion.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo