Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling extension make other extensions coloration inactive #11

Open
mcmatthevan opened this issue Jan 25, 2021 · 3 comments
Open

Enabling extension make other extensions coloration inactive #11

mcmatthevan opened this issue Jan 25, 2021 · 3 comments
Labels
bug Something isn't working Suggestion A feature that is being suggested.

Comments

@mcmatthevan
Copy link

mcmatthevan commented Jan 25, 2021

Hello,
I've installed this Skript extension, which is very good to write code in Skript and everything was okay, until I opened a .py file. There was no colors in my Python program although my python extension was enabled. Actually, the colors came back when I disabled the Skript VSC extension...
I also tested to open a C program, and it seems that the Skript VSC extension does disable all coloration for all other languages except Skript. It means that you want to disable the extension when you want to write code in another language.

I'm running VSCode 1.52.1 on Mac OS X 10.11

@AyhamAl-Ali
Copy link
Owner

Thank you for reporting this.

This package only aims to support syntax highlighting for Skript codes however, it shall not break other syntax highlightings for other languages.

Due to how syntax highlighting works and how to support keywords and languages it was not easy to keep the support for all other languages, the temporary fix was pretty simple but annoying, you just need to change the theme of your VSC to any other theme that is not part of Sk-VSC when using other languages and when you want to work with skript again you will need to choose Sk-VSC theme again.

I had that feature support on my do-to list and it is time to work on it, hopefully I can fix it very soon.

Glad you like this and hope you keep using it and give suggestions and report issues if found.

@mcmatthevan
Copy link
Author

Thanks for your quick answer !
I'm gonna apply your suggestions

@AyhamAl-Ali
Copy link
Owner

Sure, you're welcome

@AyhamAl-Ali AyhamAl-Ali added the Suggestion A feature that is being suggested. label Jul 3, 2021
@AyhamAl-Ali AyhamAl-Ali added the bug Something isn't working label Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Suggestion A feature that is being suggested.
Projects
None yet
Development

No branches or pull requests

2 participants