{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/113","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/113/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/113/events","html_url":"https://github.com/Microsoft/vscode/issues/113","id":117691385,"number":113,"title":"Add Stylus language support","user":{"login":"buzinas","id":7298695,"avatar_url":"https://avatars.githubusercontent.com/u/7298695?v=3","gravatar_id":"","url":"https://api.github.com/users/buzinas","html_url":"https://github.com/buzinas","followers_url":"https://api.github.com/users/buzinas/followers","following_url":"https://api.github.com/users/buzinas/following{/other_user}","gists_url":"https://api.github.com/users/buzinas/gists{/gist_id}","starred_url":"https://api.github.com/users/buzinas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buzinas/subscriptions","organizations_url":"https://api.github.com/users/buzinas/orgs","repos_url":"https://api.github.com/users/buzinas/repos","events_url":"https://api.github.com/users/buzinas/events{/privacy}","received_events_url":"https://api.github.com/users/buzinas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/Feature%20Request","name":"Feature Request","color":"bfd4f2"},{"url":"https://api.github.com/repos/Microsoft/vscode/labels/Help%20Wanted","name":"Help Wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-18T21:58:25Z","updated_at":"2015-11-22T13:35:17Z","closed_at":null,"body":"I would like to have full Stylus language support, the same we already have for Sass and Less.\r\n\r\nColoring is already available with `tmLanguage`, but we should have full intellisense support, errors, warnings etc.\r\n\r\nI've already taken a look at the way Sass was built, and if you would like to have this improvement in VSCode core, I can contribute with a PR.\r\n\r\nIf there is any way to do that as an extension (but using the power of Monarch etc), I'll be glad if you give some guidelines of how I can achieve that.\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/158760006","html_url":"https://github.com/Microsoft/vscode/issues/113#issuecomment-158760006","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/113","id":158760006,"user":{"login":"aeschli","id":6461412,"avatar_url":"https://avatars.githubusercontent.com/u/6461412?v=3","gravatar_id":"","url":"https://api.github.com/users/aeschli","html_url":"https://github.com/aeschli","followers_url":"https://api.github.com/users/aeschli/followers","following_url":"https://api.github.com/users/aeschli/following{/other_user}","gists_url":"https://api.github.com/users/aeschli/gists{/gist_id}","starred_url":"https://api.github.com/users/aeschli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeschli/subscriptions","organizations_url":"https://api.github.com/users/aeschli/orgs","repos_url":"https://api.github.com/users/aeschli/repos","events_url":"https://api.github.com/users/aeschli/events{/privacy}","received_events_url":"https://api.github.com/users/aeschli/received_events","type":"User","site_admin":false},"created_at":"2015-11-22T13:35:17Z","updated_at":"2015-11-22T13:35:17Z","body":"@buzinas  CSS/Less and Sass are not yet using the new extensions API, they were written before that. Eventually I'll have to rewrite them to do so.\r\nI see that Stylus itself is implemented in NodeJS, so I'd recommend to use as much as you can from there. Scanner, parser, AST.\r\nHave a look at https://code.visualstudio.com/docs/extensions/example-language-server. You'd implement the language server in a separate NodeJS process, that can keep the ASTs for open documents as to (re-)use them for validation, intellisense, hovers and so on.\r\nWe have packages that already implement the process communication for you.\r\nIMO that the best way to go. As mentioned, CSS/Less and Sass is old style and is of limited use as an example or framework to build on."}}