♾ vscode
Sometimes we just want to highlight, but not install npm package. Like `vscode-graphql`
need install `grahql-tag`
to enable graphql highlight.
Another option is
const gql = String.raw
const query = gql`
// code in here will be highlight
`
- create project - https://code.visualstudio.com/api/get-started/your-first-extension
- debug - just
`F5`
- publish - https://code.visualstudio.com/api/working-with-extensions/publishing-extension
vsce publish <version> -p <person_access_token>
token find here
alternative
- create publisher in https://marketplace.visualstudio.com/VSCode is another alternative
Q&A
- 401 ,选择全部的
`org`
重新生成一遍 - 每次发布如果忘记了
`token`
,应该去对应的地址再生成一遍