Giter VIP home page Giter VIP logo

vscode-lpc-lang's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @GwennKoi ๐ŸŸ
  • ๐Ÿ‘€ Iโ€™m interested in MUDs, Language Design, Procedural Content Generation, Game Design, Convention Planning
  • ๐ŸŒฑ Iโ€™m currently learning graph theory.

vscode-lpc-lang's People

Contributors

dependabot[bot] avatar gesslar avatar gwennkoi avatar jlchmura avatar oiuv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

vscode-lpc-lang's Issues

@EndText ... EndText string literal blocks

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.

Super call with reserved keyword

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.

Screenshots
image

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

@ and @@ text formatting shortcuts end too soon.

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.

screenshot attached

LDMud LPC compatible?

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?

Strings identified within comment blocks/lines

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.