-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Type: WontfixArduino has decided that it will not resolve the reported issue or implement the requested featureArduino has decided that it will not resolve the reported issue or implement the requested feature
Milestone
Description
This is actually quite straightforward. My thoughts for the moment are limited to
- allow user to manually store JS editor scripts in ~/Arduino15/scripts/xxxxxx (some structure that makes sense, rather than just a dumping ground)
- not offer any editor for the moment (good news is that from what I saw, REditxxxSomethingOrOther seems to have built-in JS awareness if in the future someone wants to write that)
- basic access to the real Editor/RSTA mechanics from JS scripts (dunno what that API surface will be but the idea is to interpose something in between that does not let user directly trash the Editor)
- have at least a "reformat-code" script (any pointer to existing JS based C++ code formatter welcome) as an example (maybe something simpler as a first useful demo of the feature)
A second step should cover
- registering the scripts against an editor type (e.g. a library.properties validation script should never be launched at a mysketch.ino
- a couple of useful scripts to validate lib.props and keywd.txt (in this case, a script could even make the suggestion of what contents might make sense as a simple unambitious 'Propose a completion keywrds list for this lib' accessible by right clicking on a lib node in the outline view.
Metadata
Metadata
Assignees
Labels
Type: WontfixArduino has decided that it will not resolve the reported issue or implement the requested featureArduino has decided that it will not resolve the reported issue or implement the requested feature