DAI Plugin for Visual Studio Code
This extension provides syntax highlighting and code snippets for plugins
Features
- Syntax highlighting for plugin files (*.plugin)
- Syntax highlighting of DAI keywords for c files
- Plugin Segment completion
- Snippets for plugin-point insertions in plugin, C and shell files
- Snippets for frequently used constructs
Code Snippet - defining plugin point in plugin file
Code Snippet - inserting plugin point in C file
Workspace Configuration for Matflo C Development
The extension includes pre-configured workspace settings for DAI Matflo C development. These configurations include:
- Settings: File exclusions, search filters, and workspace-specific options
- Tasks: Build tasks for
make, ut_build, and other build systems
- Launch configurations: GDB debugging setups for binaries, APIs, and core dumps
- C/C++ properties: Include paths and compiler settings
- Extension recommendations: Suggested extensions for DAI development
Installing Workspace Configuration
To install the workspace configuration files:
- Open the Command Palette (
Ctrl+Shift+P or Cmd+Shift+P)
- Type and select: "DAI: Install Workspace Configuration"
- Choose whether to overwrite existing files or skip them
The configuration files will be installed to your workspace's .vscode directory. You can then customize them according to your project's needs.
Note: The configuration files are templates based on typical DAI Matflo C projects. You may need to adjust paths and settings for your specific project structure.
The extension adds convenient build buttons to the status bar (bottom left):
- � Make Fresh - Runs the
make fresh task
- 🔧 Make - Runs the
make task
- 🌐 Make API - Runs the
make API task
IntelliSense Management: The extension automatically disables C/C++ IntelliSense during any build task execution to improve build performance, then re-enables it when the build completes. This works whether you trigger builds from:
- Status bar buttons
- Command Palette (
Ctrl+Shift+P → Tasks: Run Task)
- Keyboard shortcuts
- Any other method
Coming Soon
- Code Intellisense in plugin files
For Contributors
Release
This starts a git-flow release branch with recommended semver and bumps version number and updates changelog
npm run release
# do the testing and when ready finish the release branch with
#git flow release finish <branch-name>