Skip to content

Commit

Permalink
Fix debug commands, remove unused stuffs (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-wiemer authored Sep 29, 2024
1 parent b1057d6 commit c2ba5f2
Show file tree
Hide file tree
Showing 15 changed files with 43 additions and 5,075 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ scripts/*
*.js
*.js.map
*.tsbuildinfo
**/out/**/*.d.ts
**/out/**/*.d.ts
61 changes: 0 additions & 61 deletions .vscode/launch.json

This file was deleted.

127 changes: 0 additions & 127 deletions client/src/browserClientMain.ts

This file was deleted.

9 changes: 4 additions & 5 deletions client/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export function activate(context: ExtensionContext): Promise<LanguageClient> {
};

// Create the language client and start the client.
client = new LanguageClient('AutoHotkey2', 'AutoHotkey2', serverOptions, clientOptions);
client = new LanguageClient('AHK++', 'AHK++', serverOptions, clientOptions);
loadlocalize(context.extensionPath + '/package.nls');
textdecoders.push(new TextDecoder(env.language.startsWith('zh-') ? 'gbk' : 'windows-1252'));

Expand Down Expand Up @@ -216,10 +216,9 @@ export function activate(context: ExtensionContext): Promise<LanguageClient> {
commands.registerTextEditorCommand('ahk++.run', textEditor => runScript(textEditor)),
commands.registerTextEditorCommand('ahk++.runSelection', textEditor => runScript(textEditor, true)),
commands.registerCommand('ahk++.stop', stopRunningScript),
commands.registerCommand('ahk++.debug.file', () => beginDebug('f')),
commands.registerCommand('ahk++.debug.configs', () => beginDebug('c')),
commands.registerCommand('ahk++.debug.params', () => beginDebug('p')),
commands.registerCommand('ahk++.debug.attach', () => beginDebug('a')),
commands.registerCommand('ahk++.debugConfigs', () => beginDebug('c')),
commands.registerCommand('ahk++.debugParams', () => beginDebug('p')),
commands.registerCommand('ahk++.debugAttach', () => beginDebug('a')),
commands.registerCommand('ahk++.selectSyntaxes', selectSyntaxes),
commands.registerTextEditorCommand('ahk++.updateVersionInfo', async textEditor => {
if (!server_is_ready)
Expand Down
Loading

0 comments on commit c2ba5f2

Please sign in to comment.