gwennkoi / vscode-lpc-lang Goto Github PK
View Code? Open in Web Editor NEWVisual Studio Code LPC Language Extension
License: MIT License
Visual Studio Code LPC Language Extension
License: MIT License
Since the 1.0.0 update where "Strings are now handled by the language server" strings are context-highlighted even within comment blocks. This means that an apostrophe in a comment block starts a string, then it extends several lines or to the end of the file.
Thanks for this extension! I lack the time to delve into the details of how it all works so thought I'd ask here: Is it feasible to build in support for multi-line string literal blocks?
Example:
set("long",@EndText
This is a really long description that spans multiple lines and
may have some single-quote apostrophes in it. It's my hope that
those apostrophes can be set to be included in this block of text!
EndText
);
This is the convention we use in our system frequently. But the entire syntax highlighting
gets broken by those '
s.
Describe the bug
When a super call contains a reserved keyword, it is highlighted when normally it would not.
Expected behavior
super::
calls shouldn't highlight reserved words.
LPC Code
inherit "/std/object.c";
inherit "/std/something.c";
void fn () {
object::fn(); // object is highlighted like a variable
something::fn(); // working as expected
}
VS Code Version:
Version: 1.78.2
OS: [e.g. Windows 10, MacOS, Arch Linux]
Windows 10
Additional context
vscode-lpc-lang v1.1.4
Copying from @gesslar's issue report here jlchmura/prettier-lpc-vscode#18
set("long", @text
The soft, black and white pelt has been expertly cured to preserve the
texture and hairs of the panda's fur. Though the skin is quite beautiful,
the animal itself must have been even more majestic.
text
);
When the marker (in this case text
) appears in another word at the start of a line (texture
on the 4th line), the highlighting ends there instead of at the actual end marker.
Hi,
How compatible/in-sync is this with the LDMud (post LP) driver? I know you are updating with Fluff in mind, which is based off of MudOS... If I want one more suitable to LDMud (which is based off LPMud/Amylaar, not MudOS), would it make more sense to do my own starting with your Pike version? I'm not sure, but it seems like Pike might be even more out of date in terms of compatibility with LDMud?
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.