GithubHelp home page GithubHelp logo

rtextnpp's Introduction

RTextNpp GitHub version Build status Coverage Status

RText plugin for Notepad++. More detailed documentation is pending.

rtextnpp's People

Contributors

sanastasiou avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

rtextnpp's Issues

Exception when abusing save and ctrl+space

When modifying a line with some attributes, try writing a comma, save the file, and press ctrl+space to autocomplete. After a few retries should crash. It looks like the plugin tries to autocomplete while still reloading the saved data and then crashes.

Colors only correct with default style

Try another style from Settings -> Style configurator, the colors are broken. I guess the highlighting colors should be adapted automatically to each style.

Folding seems broken...

Folding markers seem to be randomly missing from part of even small documents. Check if this is an issue of the plugin or scintilla...

Windows overflow in case zooming is enabled.

It appears the windows can extend over the screen size if zoom scale factor is too big.

Probably the scaling factor is not being taken into account while checking if the window fits in the monitor.

No autocompletion when square bracket after linebreak

Noticed that no autocompletion options appear when adding a linebreak (and newline) between the child label and opening square bracket (see screenshot). With argument arrays and opening braces this is no problem.

By the way I can't see the request/response in the debug output anymore with v0.7.258, probably because this is a release build or?

square_bracket_after_backslash

Enable shortcut commenting

Ctrl+C or Ctrl+K currently have no effect on the plugin.

Enable the shortcuts for commenting, taking into account the settings of those shortcuts.

Crash when missing cmd /c in .rtext

Getting unhandled .net exception when missing "cmd /c" in front of the command in .rtext and trying to load the model:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: No process is associated with this object.
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_HasExited()
at RTextNppPlugin.RText.RTextBackendProcess.get_HasExited()
at RTextNppPlugin.RText.ConnectorManager.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.b__0(Object state)

Improve performance of error annotations.

In order to improve performance when dealing with massive amount of errors, the annotations should be cached while being invisible and then be made visible.

This has the effect that no matter the number of annotations, they appear instantly in the editor.

Autocompletion and highlighting wrong in a labeled child array

When multiple child elements (ie. array) are assigned to a role (label), empty autocompletion options are given in the cursor position shown below (expected "CalprmElementPrototype"). Also syntax highlighting is wrong (CalprmElementPrototype colored red like an attribute).

AUTOSAR {
ARPackage P1 {
InternalBehavior InternalBehavior1, component: /P1/SWC1 {
sharedCalprm: [
|
CalprmElementPrototype sharedCal1, type: /P1/UInt8
CalprmElementPrototype sharedCal2, type: /P1/UInt8
]
}
}
}

request:
Info: 3:46 PM:41: [15:46:41] DEBUG request: {"context"=>["AUTOSAR {", "ARPackage P1 {", "InternalBehavior InternalBehavior1, component: /P1/SWC1 {", " sharedCalprm: [\t "], "column"=>25, "type"=>"request", "command"=>"content_complete", "invocation_id"=>45}

response:
Info: 3:46 PM:41: [15:46:41] DEBUG response: {"type"=>"response", "invocation_id"=>45, "options"=>[]}

Fuzzy autocompletion prevent user from typing

If auto completion is requested where only a single option exists, then it appears as if the user cannot type anything.

This feature should only be active when the user explicitly requests auto completion with Ctrl+Space.

Wrong column in value auto complete request

Plugin gives a new element as autocompletion result (because request column is wrong), even though attribute value is expected:

AUTOSAR {
ARPackage P1 {
InternalBehavior InternalBehavior1, component: /P1/SWC1 {
RunnableEntity run8 {
WaitPoint wp1, trigger: |
}
}
}

request:
Info: 3:19 PM:34: [15:19:34] DEBUG request: {"context"=>["AUTOSAR {", "ARPackage P1 {", "InternalBehavior InternalBehavior1, component: /P1/SWC1 {", "RunnableEntity run8 {", "WaitPoint wp1, trigger:", ""], "column"=>1, "type"=>"request", "command"=>"content_complete", "invocation_id"=>38}

Cloned views interfere with one another.

When a cloned document is open in both views, buffer activated events are interfering with both of the views. Last view seems to "win", thus visibility info ( lines ) are shared between both views, which messes up the drawn indicators...

Make console resizable.

The console text should fit the actual size of the console, thus when this size is enlarged the lines should also rearrange themselves.

Auto completion tooltip placement target should be the edge of the auto completion list.

Currenlty the tooltip is placed on the right of a border of an option item.

The problem with this approach is, that if the option is too large to fit in the maximum length of the auto completion window, the tooltip appears out of place in the "virtual" edge of the border.

To fix this, always place the left edge of the tooltip to the right edge of the completion list.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.