Code Monkey home page Code Monkey logo

Comments (16)

DaanV2 avatar DaanV2 commented on July 22, 2024

Which format codes and underlines?

from vscode-bedrock-development-extension.

Xterionix avatar Xterionix commented on July 22, 2024

https://minecraft.wiki/w/Formatting_codes

from vscode-bedrock-development-extension.

DaanV2 avatar DaanV2 commented on July 22, 2024

The completion is in:
https://github.com/Blockception/VSCode-Bedrock-Development-Extension/blob/f7926608cddba30bff5f053cab4c30430aa03494/server/src/Lib/Minecraft/Language/Completion.ts

The syntax for code formatting is in
https://github.com/Blockception/VSCode-Bedrock-Development-Extension/blob/f7926608cddba30bff5f053cab4c30430aa03494/minecraft-mcfunctions/syntax.tmLanguage.json
And
https://github.com/Blockception/VSCode-Bedrock-Development-Extension/blob/f7926608cddba30bff5f053cab4c30430aa03494/minecraft-language-files/syntax.tmLanguage.json

from vscode-bedrock-development-extension.

Xterionix avatar Xterionix commented on July 22, 2024

I've seen those 3 files but I'm not sure how this
image
decides the color

from vscode-bedrock-development-extension.

DaanV2 avatar DaanV2 commented on July 22, 2024

Thats cause you dont set the color 😬
Its all depended on the colour theme you use

from vscode-bedrock-development-extension.

Xterionix avatar Xterionix commented on July 22, 2024

Ah, is there some where I can preview the default theme colors without compiling and changing the values?

from vscode-bedrock-development-extension.

DaanV2 avatar DaanV2 commented on July 22, 2024

No unfortnually not, you can use the client + server launch option in vscode debug to start a debugging sessions 🤔

from vscode-bedrock-development-extension.

Xterionix avatar Xterionix commented on July 22, 2024

What options go there exactly? Some of the options listed aren't in the schema

from vscode-bedrock-development-extension.

Xterionix avatar Xterionix commented on July 22, 2024

Also is it relying on a color theme a choice or is it because of a lack of a better option? Personally think it'd be nice to have the in game colors show

from vscode-bedrock-development-extension.

DaanV2 avatar DaanV2 commented on July 22, 2024

There is no way to force the colour, you always have to specify something, that a colour theme will force onto it

from vscode-bedrock-development-extension.

Xterionix avatar Xterionix commented on July 22, 2024

And "What options go there exactly? Some of the options listed aren't in the schema"

from vscode-bedrock-development-extension.

DaanV2 avatar DaanV2 commented on July 22, 2024

True be told, anything....
Any plugin can just say, ooh yeah this piece of text is a "foo"
And colour theme use a prefix matching pattern to assign colours to them

So:
you can have resource.class.static.global but the colour theme might just specify resource.class Though other might be able to specify: resource.class.static, everything the schema gives is just what is taken as standard, but colours theme might just specify something else.

from vscode-bedrock-development-extension.

DaanV2 avatar DaanV2 commented on July 22, 2024

https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide

from vscode-bedrock-development-extension.

Xterionix avatar Xterionix commented on July 22, 2024

Couldn't the plugin then create its own colors that are based on the minecraft ones?

from vscode-bedrock-development-extension.

DaanV2 avatar DaanV2 commented on July 22, 2024

Which means the plugin needs to make an entire colour theme, that everyone needs to use 😬

from vscode-bedrock-development-extension.

Xterionix avatar Xterionix commented on July 22, 2024

It's not possible to only add a few colors instead of an entire theme?

from vscode-bedrock-development-extension.

Related Issues (20)

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.