Comments (5)
This was fixed in the last patch.
from vscode-lpc-lang.
First off, what's your mud?
Secondly, I've had the same problem and have looked into it with no success yet.
The way to do all of this properly is to write a language server which would run in the background and do all of the complicated parsing. Language servers enable a lot of other really cool features. The problem is that I don't really have the time to create one. It's on a very, very long personal todo list.
I'll take a look at it sometime soon to see if I can accomplish it in the current parser rules, but I wouldn't hold my breath.
from vscode-lpc-lang.
The Two Towers for me. :)
My typical workaround is to just disable '
as a string-delimiter in the syntax definition - that solves most problems. If you're able to come up with something better, great. No worries. otherwise. Thanks for the response.
from vscode-lpc-lang.
@andrewransom This is how I get around it, and I've had to do this in a number of editors:
set("long", @text
This is the long description. Isn't it fabulous??
text //'
);
from vscode-lpc-lang.
After doing a lot of research, the problem is really hard to fix. The main issue is that this feature in the language itself is a hack and wasn't implemented via good syntax parsing. I've talked to the primary maintainer of FluffOS and they have the exact same issue with that syntax in the driver itself and have to hack around it there.
As always, I am still looking for help on how to handle this particular issue.
from vscode-lpc-lang.
Related Issues (7)
- LDMud LPC compatible? HOT 2
- Possible problem with the regex finding keywords in string literals HOT 2
- Super call with reserved keyword HOT 2
- @ and @@ text formatting shortcuts end too soon. HOT 1
- When beginning array, mapping symbols, automatically adds extra closing paren
- Strings identified within comment blocks/lines HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-lpc-lang.