diff --git a/CHANGELOG.md b/CHANGELOG.md index 33deacb..d7fda1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### 1.7.0 (Jun 8, 2017) +* Added support for Markdown + ### 1.6.0 (Jun 4, 2017) * Added support for Twig. @@ -24,4 +27,4 @@ * Fixed error showing up whenever there were no workspace opened. ### 1.0.2 (Sep 17, 2016) -* Refactored to add proper asynchronous parallel parsing of the documents. \ No newline at end of file +* Refactored to add proper asynchronous parallel parsing of the documents. diff --git a/README.md b/README.md index f3c6c8b..a72e0c5 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,14 @@ A Visual Studio Code extension that provides CSS class name completion for the H * TypeScript React (.tsx) * Vue (.vue) [requires [vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur)] * Twig +* Markdown (.md) ## Contributions You can request new features and/or contribute to the extension development on its [repository on GitHub](https://github.com/Zignd/HTML-CSS-Class-Completion/issues). +## What's new in version 1.7.0 (Jun 8, 2017) +* Added support for Markdown + ## What's new in version 1.6.0 (Jun 4, 2017) * Added support for Twig. @@ -34,4 +38,4 @@ Check out the [change log](https://github.com/zignd/HTML-CSS-Class-Completion/bl If there are HTML files on your workspace the extension automatically starts and look for CSS class definitions. In case new CSS classes are definined or new CSS files are added to the workspace and you also want auto completion for them simply hit the lightning icon you will find on the status bar and execute the command pressing `Ctrl+Shift+P` and then typing "Cache CSS class definitions". ![](http://i.imgur.com/O7NjEUW.gif) -![](http://i.imgur.com/uyiXqMb.gif) \ No newline at end of file +![](http://i.imgur.com/uyiXqMb.gif) diff --git a/package.json b/package.json index a4b2aa3..9c6f463 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "html-css-class-completion", "displayName": "IntelliSense for CSS class names", "description": "Provides CSS class name completion for the HTML class attribute based on the CSS files in your workspace. Also supports React's className attribute.", - "version": "1.6.0", + "version": "1.7.0", "publisher": "Zignd", "engines": { "vscode": "^1.4.0" diff --git a/src/extension.ts b/src/extension.ts index 32cdaf6..74ecf16 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -117,6 +117,7 @@ export async function activate(context: vscode.ExtensionContext): Promise const php = provideCompletionItemsGenerator('php', htmlRegex); const vue = provideCompletionItemsGenerator('vue', htmlRegex); const twig = provideCompletionItemsGenerator('twig', htmlRegex); + const md = provideCompletionItemsGenerator('markdown', htmlRegex); const tsReact = provideCompletionItemsGenerator('typescriptreact', jsxRegex); const js = provideCompletionItemsGenerator('javascript', jsxRegex) const jsReact = provideCompletionItemsGenerator('javascriptreact', jsxRegex); @@ -126,6 +127,7 @@ export async function activate(context: vscode.ExtensionContext): Promise context.subscriptions.push(php); context.subscriptions.push(vue); context.subscriptions.push(twig); + context.subscriptions.push(md); context.subscriptions.push(tsReact); context.subscriptions.push(js); context.subscriptions.push(jsReact); @@ -136,4 +138,4 @@ export async function activate(context: vscode.ExtensionContext): Promise export function deactivate(): void { } -// TODO: Look for CSS class definitions automatically in case a new file is added to the workspace. I think the API does not provide and event for that. Maybe I should consider opening a PR. \ No newline at end of file +// TODO: Look for CSS class definitions automatically in case a new file is added to the workspace. I think the API does not provide and event for that. Maybe I should consider opening a PR.