How to Add Paperscript Syntax Highlighting to Visual Studio Code

preview_player
Показать описание
In this video I will show you how to add syntax highlighting for paper js to your visual studio code editor.

Resources:
-----------------

Рекомендации по теме
Комментарии
Автор

Hey Ian, the stackoverflow Link (windows) didn't work in my case. Instead I used [C:\Users\{user name VS

lukaso
Автор

On Ubuntu, I found it in the usr/share/code directory. You can use "whereis code" command to know the location of VS Code

abhishekkansal
Автор

For those on linux, i'm on manjaro btw, the visual studio code file path for me is ("code" in the file path is the visual studio code folder on my system, yours might differ.)The file name is html.tmLanguage.json now just right click on it and select edit as administrator. A native text editor with the right privileges opens and from there you should be able to edit and save it. cheers!

roxp
Автор

Thank you Ian, simple explanation and super quick

nathanlakey
Автор

Hey Ian, I have found the file html.tmLanguage, and I even added paperscript but it does not give me the same result as the above video. I have even asked this on udemy Q/A. Please help me out??

sarayushetty
Автор

on windows it worked for me
first step=>>C:\Users\yourusername -> then you need to enter AppData, as default you can't see the folder so you need to go to the windows ribbon and click view -> show hidden.

second step VS

bhupendranagda
Автор

One question ... Why my json open like "one chunck of code" and your code json open "beatiful to see" ?

fernandokuhn
Автор

Hi Ian it did not work in my end. I followed the video above and it did not work. I am using macbook pro.

cresascencion
Автор

This is crazy, we used a text editer to make changes to a text editer ;o;

dylanwatts
Автор

Thank you Ian ! Will it work for other js libraries?

pavankumar-zkvd
Автор

For windows, you can find the file here:
This PC/Local Disk (C:)/Users/{name of your VS

Make sure you have selected "Show Hidden items" otherwise you won't find App data folder.

vivekchaubey
Автор

You rock buddy! Colt's Students love you <3

AdrianThonyNava
Автор

Hey Ian,
I was wondering how I can randomize the mongoose paginate request from your code with node course.
is there a query paramater that you can pass to:
cont posts = await Post.paginate({}, {
page: req.query.page || 1,
limit: 20
})
in order to completely randomize what will be given on each page? Thanks.

codehsanswers
Автор

1 tip if you dont know where to find that file in your computer just search in your PC file "Microsoft VS Code" and then follow like Ian (in Win10)

danhle
Автор

hey Ian, the stackover flow link for windows isn't working tried it with the other extension on the comment section as wel please provide an alternative

pramukhgirish
Автор

how do i create syntax higlighting extension for my custom language ?

ziyadkader
Автор

hey ian, i just couldn't find the where is extension file

maviselK
Автор

I'm using Ubuntu and can't find the file anywhere can anyone help?

gurbirsandhu
Автор

Hi Ian I found the file by the name of HTMLAttributes.json, but the code is different from what is represented above, so I am not sure what to change. Please help out so I can continue with the project.

bhavneetsingh
Автор

Hi, I have a pc and I'm trying to find the file for the visual code App and I can't seem to find it even though I have vs code downloaded on my laptop, I can't seem to find it in the program files folders as indicated in the full-stack link you provided. can you please help me resolve this issue?

elieserlaguerre