Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
Meeting Minutes
- Packaging a VSCode plugin:
- VSCode introduced new parameters in package.json file.
- Package bundler would reduce the time to compile.
vsce package
command was used to create the package.- vsix (extension) file is the final output.
- Install from vsix for local installation.
- Adding new buttons to the explorer:
- Create a new views → Explorer → new view with an ID in the package.json.
- Define the commands and the title (icon).
- Possible to hide buttons when minimized and not the current view.
activate
is like an entry point for the extension. UI is controlled by the view in the package.json.- Upon trying to create a new package from the code, there is an error because of the default README.md file.
- Option to overwrite the README.md is introduced in newer vsce.
- A repository field in package.json and LICENSE is missing – warnings.
- For the debugger:
- Mock debugger in VSCode.
- Run the debugger and simulate the debugging screen.
- DAP is a debugger protocol for debugging.
- DAP protocol has interfaces to implement that we shall run.
- There are commands, events that we can run.
- Download the mock debugger extension.
- tasks.json file.
- Side panel menu:
- view under the activityBar in package.json
- views and viewContainer.
- viewContainer has png image of the view.
- In the code extension.ts, provide the classes.
- WebviewViewProvider, register to the activate to the vscode.window.
- resolveWebviewView method for override.
TODO
- Use Golang debugger DAP.
- Call a method before the go debugging screen loads (or is ready).
- Pass arguments when debug session starts.