Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97327

Use Jython and lint on VScode

$
0
0

I would like to use Pylint to lint Jython code.
Clearly, all Java functions (JPanel, JFrame, JComboBox, etc.) are recognized as an error (eg. undefined variable 'JPanel'). I would like to know if there was a way to disable the undefined variable rule on VScode.

Or better yet, if an external Jython linter existed, it would be optimal! Because I have seen that there are no extensions for VSCode for Jython, unfortunately, and of course not even on the linting of jython code.

If none of the things listed above were possible, I would be happy to use another editor with linting, shorcut for self-formatting, etc. In short, the essential of VScode!

EDIT

Based on a small experience of development in Angular it would be optimal to be able to put a pylinting file of Python 2.7 (since jython 3 doesn't exist) inside the project folder, exactly at the same way as it is done with tslint.json, and customize it by excluding for example the java functions.

I hope there is a way to do it.


Viewing all articles
Browse latest Browse all 97327

Trending Articles