peters-ben-0007 / vbdotnetsyntax Goto Github PK
View Code? Open in Web Editor NEWVB.Net Syntax for Sublime Text
License: Apache License 2.0
VB.Net Syntax for Sublime Text
License: Apache License 2.0
La palabra reservada Module no es reconocida.
Hello,
is this repository still maintained?
Seems to be quiet for a while now, but here goes.
There seems to be an issue with the syntax highlighting for VB.NET in the GitHub site file editor.
Say I have a .vb file in a repository and in that file there is the following line:
Public Shared Functions As New cFunctions
.
The syntax will highlight the 'Function' part of both words (blue), whereas the letters c, and s will be interpreted as regular strings (black).
Looks like it doesn't interpret plurals, and blindly looks for a regex match, not really sure if this is possible to fix with the current setup.
Edit:
Tested it in Atom 1.19.3 right now to confirm.
The issue doesn't appear when using this syntax highlighting package:
https://github.com/Gorea235/language-vb/blob/master/grammars/vb.net.cson#L101
Pinging @Gorea235 to maybe help resolve the issue aswell.
Regards,
Leo
the #otherKeywords pattern was renamed to #modifierKeywords, but the function + property definitions still refer to #otherKeywords
I cloned the repo into ~/Library/Application Support/Sublime Text 2/Packages/VBDotNetSyntax and restarted ST2. It wasn't discovered in the list of languages. No .cache files were made like in the other language folders.
I am using Mac OS X 10.9. What am I doing wrong?
Remarks (REM) do not get the same syntax highlighting as an ordinary single-quote comment. I tried adding another rule inside "vbdotnet.JSON-tmLanguage" with the following:
"singleLineComment": {
"name": "comment.line.singlequote.vbnet",
"match": "'.*$",
"comment": "single quote comment"
},
"remComment": {
"name": "comment.line.rem.vbnet",
"match": "?i:rem.*$",
"comment": "rem comment"
},
but this did not work.
Any thoughts or possible fixes?
Language does not show in the syntax list; opened the console, got this error:
error parsing lexer: Packages/vbdotnet.tmLanguage: Error parsing plist xml: expected = in file Packages/vbdotnet.tmLanguage on line: 33
I'm using Sublime Text 3 Build 3059
Thanks for all the work you've put into this.
This should be available as a package installable through Package Manager.
I got here from the Sublime Text forums - not ideal.
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.