Advantages:
Disadvantages:
Advantages:
Disadvantages:
TBD
How do we estimate the time needed to implement features using the Schileman engine? I can see 3 cases here:
Current features:
| Feature | Description | Estimate to lexerize [engineer/day] | Schliemann'izable |
|---|---|---|---|
| coloring | regular code coloring | 3 | yes |
| regular CC | We can complete html tags and entity references according to various HTML specifications. We read the spec. from the HTML page prolog. | 2ed | yes |
| CC follows quotation type | If user types <h1 align=' and invokes CC the items will the follow the quotation type ' or " | 0.1 | ? |
| CC follows case | The completion checks if the user types uppercase of lowercase and completes accordingly | 0.2 | ? |
| quotes autocompletion | <h1 aling + = => <h1 aling="" | 0.1 | ? |
| completion documentation | We offer an HTML documentation of each CC item | 1 | probably |
| endtag autocompletion | we automatically offer closing tag by CC if user types an open tag | 0.5 | ? |
| code formatting / indentation | 3 | yes? | |
| html folding | just reqular folds for open - close tags and comments | 3 | yes |
| tag matching | open/close tag mathing (highlighting) | 0.2 | ? |
| palette | we provide common HTML tags in the paletter in two categories | ? | N/A |
| view/run actions | we can view a local file in the HTML browser or deply the webmodule and show the deployed page | N/A | ? will we need our own DataObject? |
Future features:
| Feature | Description | Estimate handcoding [engineer/day] | Estimate Schliemann |
|---|---|---|---|
| HTML navigator | Show the file structure and allow to navigate to the code | 10ed (Using SyntaxElement) | 2 |
| Error checking | Show errors/warnings for errorneous or deprecated code (unmatched closing tag, ...) | 10ed (Need to get a parser) | 2 |
| Hints | Provide quick-fix actions for some of the errors | ? | ? |
| Hyperlinking | Be able to jump to referred files | 2 | ? |
| Navigation to CSS file for HTML elements | 3 | ? | |
| Semantic coloring based on CSS style | mark elements whose rendering is defined by CSS | 3 | ? |
| Feature | Description | Estimate to lexerize [engineer/day] | Schliemann'izable |
|---|---|---|---|
| coloring | code coloring for JSP and HTMl tags, java code in scriptlets and expression language. The jsp tags coloring is connected to semantic analysis of the page - provided by Jasper parser. | 5ed | yes (problematic beause of the lexer-semantic analysis dependency) |
| code completion | We can complete JSP tag names, directives, their attributes and values. The values completion can be for java classes, files, true/false values, bean names etc. We also support code completion in java scriptlets/expressions/declarations and code completion for expression language. In EL completion we offer default objects and beans. | 4 | partially |
| CC follows quotation type | If user types <h1 align=' and invokes CC the items will the follow the quotation type ' or " | 0.1 | ? |
| CC follows case | The completion checks if the user types uppercase of lowercase and completes accordingly | 0.2 | ? |
| quotes autocompletion | <h1 aling + = => <h1 aling="" | 0.1 | ? |
| completion documentation | We offer HTML/JSP/java documentation of each CC item | 2 | yes |
| endtag autocompletion | we automatically offer closing tag by CC if user types an open tag | 0.5 | ? |
| code formatting / indentation | 3 | yes? | |
| jsp tags folding | reqular folds for JSP/HTML open - close tags and comments. We also creates a fold for groups of JSP directives. | 3 | yes |
| tag matching | open/close tag mathing (highlighting) | 0.2 | ? |
| palette | we provide common JSP/HTML and custom tags in the paletter in several categories | ? | N/A |
| hyperlinking | allows to jump to external files, java classes and beans; works in JSP/EL and java code | 1 | ? |
| error highlighting | we shows JSP page errors gotten from the JSP page static analysis done by jasper parser | 0.5 | no |
Future features: (just those not inherited from HTML editor)
| Feature | Description | Estimate handcoding [engineer/day] | Estimate Schliemann |
|---|---|---|---|
| JSP navigator | Show the file structure and allow to navigate to the code. The navigation tree will include also HTML and javascript structure. | 10 (Using SyntaxElement) | 2ed |
| Live templates | Provide LT for example for JSTL or JSF tags | ? | N/A |
| Hints for parser errors | For example taglib import hint for unknows JSP custom tag | ? | N/A |
| Drag & Drop from explorer to editor | pictures, css, other files underneeth docroot | ? | N/A |
| cc for attribute values | like color chooser, file chooser etc. | ? | N/A |