Feedback
TWS Blog

The Welkin Suite now supports Javascript syntax highlighting

The Welkin Suite
Release
Posted by username
Dec 1, 2015 246

Today we introduce one more step towards the better Salesforce frontend development - Javascript syntax highlighting. This must-have functionality is available in the new 0.24.11 version of The Welkin Suite along with some fixes.

The Welkin Suite Javascript syntax highlighting in the Visualforce and Lightning files

Javascript syntax highlighting

As you may notice we are giving some more love to the Visualforce and Lightning development during the last months and right now the most expected feature in this area is implemented. Of course, there is room for improvements, but we won't stop on this stage.

Javascript syntax highlighting is currently implemented in the Lightning Components, Static Resources ".js" and ".html" files as well as in Visualforce pages and components. Here you can see the list of highlighted items in the Javascript files:

  • Comment
  • Identifier
  • Keyword
  • Number
  • Operator
  • String

In The Welkin Suite you can configure it in the way you like, as with any other highlighting. Use Tools -> Options -> Fonts and Colors, find items that are related to the Javascript files and specify the desired settings for each of them separate:

Javascript syntax highlighting customizations in The Welkin Suite

Future plans for Javascript support

Right now our team is working on the basic code completion functionality for Javascript. As a part of this work we will build a foundation for more advanced syntax highlighting (e.g. highlighting custom classes and their members, highlighting system classes) and will provide it as well in the nearest future.
At some point after the initial code completion we will work on building Code Assistance functionality that will include "Go to definition" (even from Lightning Components definitions), "Find all references" and code formatting.

We will be happy if you will share with us your feedbacks and visions what you think is missing in the current implementation and our plans.

Fixes

Finally we are releasing the fix which fixes crash when searching in the "Tools -> Options" window.

Full list of changes

New feature:

  • Implemented Javascript syntax highlighting

Fixes:

  • Fixed the crash of TWS by searching in the Tools -> Options menu
  • Fixed rare issues related to crash of TWS by Pull from Salesforce
  • Fixed the issue when the error after the Build of project with incorrect Lightning element had no details

Your comment may be the first

    Please log in to post a comment