Menu

#692 Editor improvements

v1.1.x
closed
editor (22)
v1.1.4
Change Request
2022-08-05
2022-04-06
Erik Hänel
No

Improve the code editor as follows:

  • in coding mode do not fetch words from comments for autocompletion
  • if the local var highlighting is active, highlight it everywhere and not only within the declaration

Analysis:

Both changes are quite simple and require small changes. The extension if the autocompletion can be done by checking the style of the probable completion text. The extension of the local variables highlighter needs a context detector, which we will implement by checking the fold header flags.

Furthermore, we will introduce SmartSense, which shall improve the prediction of possible completions by a lot. E.g. it will consider the current context and also the possible completion types: only methods will be proposed, if the user is searching for a method.

Implementation:

  • Implementation: Implemented as proposed by the analysis. Note that new icons were added to the repository.
  • Revision: [r1138]
  • Implementation test: Autocompletion was tested in manual scenarios.

Documentation:

  • [x] ChangesLog updated
  • [x] Code changes commented
  • Documentation articles:
    • [x] corresponding documentation articles updated
    • [ ] new documentation articles created
    • [ ] not needed
  • Language files:
    • [x] corresponding language files updated
    • [ ] not needed

Tests:

Tested manually. No deviations detected.

Related

Commit: [r1138]

Discussion

  • Erik Hänel

    Erik Hänel - 2022-04-29
    • labels: --> editor
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2022-05-03
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -2,3 +2,25 @@
    
    
     * in coding mode do not fetch words from comments for autocompletion
     * if the local var highlighting is active, highlight it everywhere and not only within the declaration
    +
    +###Analysis:
    +(*Describe, what's the issue and which changes have to be made*)
    +
    +###Implementation:
    +* Implementation: (*Describe, what you've changed*) 
    +* Revision: [rXXX]
    +* Implementation test: (*Describe the type of test, which you performed, and if it was successful*)
    +
    +###Documentation:
    +* [ ] ChangesLog updated
    +* [ ] Code changes commented
    +* **Documentation articles:**
    +    * [ ] corresponding documentation articles updated
    +    * [ ] new documentation articles created
    +    * [ ] not needed
    +* **Language files:**
    +    * [ ] corresponding language files updated
    +    * [ ] not needed
    +
    +###Tests:
    +(*Describe, which tests you performed and their outcome*)
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2022-05-09
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,7 +4,9 @@
    
     * if the local var highlighting is active, highlight it everywhere and not only within the declaration
    
     ###Analysis:
    -(*Describe, what's the issue and which changes have to be made*)
    +Both changes are quite simple and require small changes. The extension if the autocompletion can be done by checking the style of the probable completion text. The extension of the local variables highlighter needs a context detector, which we will implement by checking the fold header flags.
    +
    +Furthermore, we will introduce **SmartSense**, which shall improve the prediction of possible completions by a lot. E.g. it will consider the current context and also the possible completion types: only methods will be proposed, if the user is searching for a method.
    
     ###Implementation:
    
     * Implementation: (*Describe, what you've changed*) 
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2022-05-11
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -9,19 +9,19 @@
     Furthermore, we will introduce **SmartSense**, which shall improve the prediction of possible completions by a lot. E.g. it will consider the current context and also the possible completion types: only methods will be proposed, if the user is searching for a method.
    
     ###Implementation:
    -* Implementation: (*Describe, what you've changed*) 
    -* Revision: [rXXX]
    -* Implementation test: (*Describe the type of test, which you performed, and if it was successful*)
    +* Implementation: Implemented as proposed by the analysis. Note that new icons were added to the repository.
    +* Revision: [r1138]
    +* Implementation test: Autocompletion was tested in manual scenarios.
    
     ###Documentation:
    -* [ ] ChangesLog updated
    -* [ ] Code changes commented
    +* [x] ChangesLog updated
    +* [x] Code changes commented
    
     * **Documentation articles:**
    -    * [ ] corresponding documentation articles updated
    +    * [x] corresponding documentation articles updated
         * [ ] new documentation articles created
         * [ ] not needed
     * **Language files:**
    -    * [ ] corresponding language files updated
    +    * [x] corresponding language files updated
         * [ ] not needed
    
     ###Tests:
    
    • status: implementing --> testing
     

    Related

    Commit: [r1138]

  • Erik Hänel

    Erik Hänel - 2022-08-05
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -25,4 +25,4 @@
    
         * [ ] not needed
    
     ###Tests:
    -(*Describe, which tests you performed and their outcome*)
    +Tested manually. No deviations detected.
    
    • status: testing --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB