fixedbit / lslint-for-vscode Goto Github PK
View Code? Open in Web Editor NEWLSLint support for Microsoft Visual Studio Code
License: GNU General Public License v3.0
LSLint support for Microsoft Visual Studio Code
License: GNU General Public License v3.0
I really enjoy this extension, but I am getting now into the firestorm preprocessor and I would like to be able to support #include.
Currently, the result of lslint is displayed in a pop-up in the lower right, but I would like to display this in the problem view.
I think it's a little inconvenient that you can't click to the corresponding line.
After investigating, I realized that it would be better to use the Diagnostic Collection.
Although it is a Japanese article, it seems that it can be output to the problem view by doing this.
https://blog.bonprosoft.com/1578/
If I stick with regular LSL, this lslint and this plugin work great. When you get in to more advanced LSL, however, you really want to use a preprocessor to tighten up your code. For example, declaring a variable for each constant you want to have is expensive. It's far better to use a #define to give a friendly name to a number.
In order for me to use lslint, I've got to use the local C Preprocessor in order to generate code first. In Windows, I've installed cygwin, so I can use bash and g++. The script I use to call lslint is as follows:
#!/bin/bash
INCLUDE=/cygdrive/c/Users/Corysia/SecondLife/LSL
if [ "$1" == "" ]; then
echo "Usage: $0 <filename>";
exit 1;
fi
cat $* | cpp -I"$INCLUDE" -E - | lslint -i
I'd really like to be able to configure the equivalent of that script in this plugin. But it has to be flexible enough for people who don't use a local preprocessor.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.