Multiple Selections, configurable auto-matching and JSHint integration

Code Writer App Suggestions and Support Forum

Posted 10 years ago by OK
Avatar

Hi.

Absolutely love this app and would like to make a few suggestions to make it even better.

Multiple selections: in Sublime Text and other modern editors, you can Control-Click to add another selection, so that any changes you make happen in multiple parts of the document. As far as I'm aware, a handicapped version of this already exists in Code Writer called "block" selection, but it isn't very useful because it seems to only work on texts that are orthogonally adjacent. This feature is a definite must-have.

Configurable auto-matching: when editing Javascript files, Code Writer will auto-match parantheses, curly braces, and brackets, but not double or single quotes, which is pretty annoying, if only because of the inconsistency. It would be nice if we could specify which ones we want auto-matched.

JSHint: I do a lot of Javascript editing and while there is error highlighting already, it's far from ideal. I would like to be able to configure a JSHint/linting for Javascript files to make my editing experience much more pleasant.

 

Other extra stuff: Go language support would be nice. It would also be nice if we could somehow add custom language definitions (like for homemade scripting languages). Multiple windows would be nice as well (though I accept it might be better to wait and see what Microsoft does with windowed Modern apps in Windows 9/Threshold).

Have you guys considered charging for more premium features (like the extra stuff mentioned above)? I know this is about Syntax Highlighter control showcasing and all, but I could see Code Writer being pretty lucrative if more customization features are added at reasonable pricing.

 

Thanks for your time.

Comments (4)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello and thank you for the suggestions.

We will add the suggestion for multiple selections and the quote auto-completion.  For that, do you mean auto-complete (you type one quote and it inserts the other) or just highlighting when you are next to one?

For JSLint, that is an idea we've had as well.  The problem is that I believe we would need to do web calls to invoke it, which would possibly drag down performance when the device has a bad network connection.  Are you aware of any pure .NET ways to invoke Lint that don't require network connectivity?

The custom language support feature is difficult in Windows Store apps due to us being restricted from loading any external .dlls (a Microsoft security policy for such apps).  It's not possible to do so at runtime since everything needs to be pre-compiled in. 

I'll log the multiple windows suggestion.

One thing we have considered is opening up our Code Writer source code into GitHub and looking for third parties to help extend it. I'm not sure what interest the developer community would have in that sort of thing.  But at least that way, it would make it easier to support third party languages.  Perhaps we could maintain the "official" branch of what goes into the Store and get the input/work of others selectively included from the public open source repo.


Actipro Software Support

Posted 10 years ago by OK
Avatar

Yes, auto-complete meaning you type one quote, it automatically inserts the other.

Not sure if this fits your needs, but it might be worth investigating, if only as a starting to know where to look next: http://jslintnet.codeplex.com/

For custom language support, other editors seem to have ways to specify custom grammars without baking them into the compiled code:

Open sourcing sounds like a great idea. I imagine developer interests would be fairly small in scale, considering how few people actually use Windows RT as a coding platform, but it can certainly help in terms of attracting attention.

Also, another suggestion to add while I have your attention: Sublime Text does this thing where it remembers variable names and key or unusual phrases that have been typed in the document thus far, and allowing a loose form of autocomplete when typing. It saves a boat load of time. This would be a great addition and I think it would be fairly easy to implement in a language agnostic manner.

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

We will mark down the .NET JSLint wrapper you mentioned and can eventually see if it is WinRT compatible, or at least if it can be made to be so.

We do actually already have a .langdef text format for setting up core syntax highlighting that our SyntaxEditor control supports where it's all pattern based.  Perhaps that is something we could add support for.  It's just that advanced features like parsing, etc. wouldn't be supported for custom languages since those sorts of things require .NET code to be written for their support.

Our completion list for the JavaScript language has logic similar to what you were saying Sublime does where it combines all the language keywords and identifier values that have been found to provide a loose form of auto-complete.  We will log the request for this to be made more generic.  Which languages in particular are you looking to add it to?


Actipro Software Support

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

I wanted to let you know that quote auto-completion is being added for the next version.


Actipro Software Support

The latest build of this product (v4.2.42) was released 3 years ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.