Skip to content

Commit 01517d1

Browse files
authored
Better readme (#10)
1 parent 1bd3b4e commit 01517d1

File tree

1 file changed

+9
-29
lines changed

1 file changed

+9
-29
lines changed

README.md

+9-29
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# C++ Insights for vscode
1+
# C++ Insights for Visual Studio Code (VSCode)
22

33
<!-- ## Introduction -->
44

@@ -12,17 +12,17 @@ For example if there is an image subfolder under your extension project workspac
1212

1313
## Features
1414
This extension allows you to view C++ Insights inside of vscode:
15-
<p align="center">
16-
<br />
15+
<p>
1716
<img src="image/show.png" alt="Show C++ insights" />
1817
</p>
1918

2019
or diff the Insights with your original source:
21-
<p align="center">
22-
<br />
20+
<p>
2321
<img src="image/diff.png" alt="Diff source with C++ insights" />
2422
</p>
2523

24+
The extension can utilize a compilation database/compile commands for easy use in existing environments. You can specify a directory containing the compilation database, aka the build directory, with `vscode-cppinsights.buildDirectory`.
25+
If the active file is part of a workspace, and `vscode-cppinsights.buildDirectoryPrioritizeCMake` is set, the `cmake.buildDirecotry` is used to determine the build direcotry.
2626

2727
## Requirements
2828
This extension requires @andreasfertig's C++ Insights.
@@ -36,38 +36,18 @@ Build or download the latest release and specify the path to the cppinsights bin
3636

3737
## Extension Settings
3838
This extension contributes the following settings:
39-
39+
(You can find descriptions in the settings UI)
4040
* `vscode-cppinsights.path`
4141
* `vscode-cppinsights.buildDirectory`
4242
* `vscode-cppinsights.buildDirectoryPrioritizeCMake`
4343
* `vscode-cppinsights.args`
4444
* `vscode-cppinsights.format`
4545
* `vscode-cppinsights.experimental`
4646

47+
## Contribute
48+
If you want to contribute, have an idea for a feature, or want to report an issue, please visit the [GitHub repository](https://github.com/devtbi/vscode-cppinsights).
49+
4750
## Known Issues
4851
### Formatting (`vscode-cppinsights.format`)
4952
* Enabling the option disables the "preview" property of the output editor
5053
* When using the `insightsDiff` command, the output is not formatted like the original source
51-
52-
53-
<!-- -----------------------------------------------------------------------------------------------------------
54-
## Following extension guidelines
55-
56-
Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.
57-
58-
* [Extension Guidelines](https://code.visualstudio.com/api/references/extension-guidelines)
59-
60-
## Working with Markdown
61-
62-
**Note:** You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
63-
64-
* Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux)
65-
* Toggle preview (`Shift+CMD+V` on macOS or `Shift+Ctrl+V` on Windows and Linux)
66-
* Press `Ctrl+Space` (Windows, Linux) or `Cmd+Space` (macOS) to see a list of Markdown snippets
67-
68-
### For more information
69-
70-
* [Visual Studio Code's Markdown Support](http://code.visualstudio.com/docs/languages/markdown)
71-
* [Markdown Syntax Reference](https://help.github.com/articles/markdown-basics/)
72-
73-
**Enjoy!** -->

0 commit comments

Comments
 (0)