-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VSCode plugin + CLI watch #102
Conversation
@@ -29,7 +29,13 @@ async function main() { | |||
const extensionTestsPath = path.resolve(__dirname, './suite/index'); | |||
|
|||
// Download VS Code, unzip it and run the integration test | |||
await runTests({ extensionDevelopmentPath, extensionTestsPath }); | |||
await runTests({ | |||
extensionDevelopmentPath, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wow 😲 tests for the vscode plugin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rip radioactive icon
vscode.commands.registerCommand('editor.resource.apply', this.applyResource.bind(this)); | ||
} | ||
|
||
provideCodeLenses(document: vscode.TextDocument, token: vscode.CancellationToken): vscode.CodeLens[] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need codelenses for reactionproviders and sourceproviders?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's look into that for the next iteration
ac848d1
to
0146350
Compare
Description
Added Drasi explorer to VSCode plugin that enables the user to manage the drasi instance of the current context.
This includes inspecting and deleting Drasi resources (Sources, Queries, Reactions).
You can also attach to a running query to see the live results.
Added Debug and Apply actions to Drasi resources that are discovered in thew editor:
When the results windows of the debug session is closed or the connection is broken, the query, indexes, etc... will be cleaned up on the query host.
Added
watch
command to the CLI the exposes the same functionality to attach to running queries.These features are supported by the
debug
andwatch
routes added to the Management API.Also includes 2 small fixes:
Type of change