AvinZarlez / processing-vscode

A Visual Studio Code extension for the programming language Processing
https://marketplace.visualstudio.com/items?itemName=Tobiah.language-pde
MIT License
177 stars 25 forks source link

[BUG] Not registering .pjs files #84

Open mcandre opened 4 years ago

mcandre commented 4 years ago

Describe the bug

*.pjs files are not highlighting as Processing JavaScript code.

To Reproduce Steps to reproduce the behavior:

  1. Open a .pjs file.

Expected behavior

The file is syntax highlighted as Processing JavaScript code. NOT plain text.

AvinZarlez commented 4 years ago

I only had it officially support .pde files.

I don't think the language files for the extension support processing.js - I suppose a psj can still be useful having just the java highlighted.

I don't work in processing.js, just for laughs could you rename the file to .pde, and see how the syntax highlighting works? Or is it not useful, since it needs a javascript highlighter and not a java highlighter?