cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

How to customize the setting of the Linting of the javascript service ?

seanccc
17-Peridot

How to customize the setting of the Linting of the javascript service ?

Hi, 

The  current lint rule require each line end with semi ';'   ,  can I change the rule ?  

 

seanccc_0-1600244332692.png

 

Regards,

Sean

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @seanccc ,

If you feel that the OOTB editor isn't doing the job, there's a way to change it.

 

https://github.com/ptc-iot-sharing/MonacoEditorTWX

 

It's an editor based on Monaco(the open source library for Visual Studio Code), and you'll find that it offers a far superior experience.

 

Follow the instructions of how to install there and you should be good to go. It changes the editor for services and the CustomCSS tab in the mashup builder.

 

BR,

Gabriel

View solution in original post

3 REPLIES 3
slangley
23-Emerald II
(To:seanccc)

Hi @seanccc.

 

I don't think ThingWorx allows changing the rules.

 

If interested, you can submit this as a request on the ThingWorx Ideas page.  This will allow others to vote for it in order to increase it's chances of being considered for a future release.

 

Regards.

 

--Sharon

slangley
23-Emerald II
(To:slangley)

Hi @seanccc.

 

If you feel your question has been answered, please mark the previous response as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Hi @seanccc ,

If you feel that the OOTB editor isn't doing the job, there's a way to change it.

 

https://github.com/ptc-iot-sharing/MonacoEditorTWX

 

It's an editor based on Monaco(the open source library for Visual Studio Code), and you'll find that it offers a far superior experience.

 

Follow the instructions of how to install there and you should be good to go. It changes the editor for services and the CustomCSS tab in the mashup builder.

 

BR,

Gabriel

Top Tags