Skip to content
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

Can't list classes/routines/etc #295

Closed
eduard93 opened this issue Nov 2, 2023 · 9 comments
Closed

Can't list classes/routines/etc #295

eduard93 opened this issue Nov 2, 2023 · 9 comments

Comments

@eduard93
Copy link

eduard93 commented Nov 2, 2023

I have a working server connection with a %ALL user. I can connect and import/compile classes, But when I switch to a InterSystems tab, I don't see any classes (or any other elements):

image

Extension host log:

2023-11-02 13:33:59.792 [info] Extension host with pid 32396 started
2023-11-02 13:33:59.792 [info] Skipping acquiring lock for c:\Users\elebedyu\AppData\Roaming\Code\User\workspaceStorage\17b3a889a69d8e81145a598793d3bd64.
2023-11-02 13:33:59.898 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
2023-11-02 13:33:59.903 [info] ExtensionService#_doActivateExtension vscode.json-language-features, startup: false, activationEvent: 'onLanguage:jsonc'
2023-11-02 13:33:59.926 [info] ExtensionService#_doActivateExtension vscode.typescript-language-features, startup: false, activationEvent: 'onLanguage:jsonc'
2023-11-02 13:34:00.302 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git
2023-11-02 13:34:00.405 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
2023-11-02 13:34:00.422 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2023-11-02 13:34:00.501 [info] ExtensionService#_doActivateExtension intersystems-community.vscode-objectscript, startup: true, activationEvent: 'workspaceContains:**/*.cls,**/*.mac,**/*.int,**/*.inc,**/*.csp,**/*.csr'
2023-11-02 13:34:00.565 [info] ExtensionService#_doActivateExtension intersystems-community.servermanager, startup: false, activationEvent: 'api', root cause: intersystems-community.vscode-objectscript
2023-11-02 13:34:04.508 [info] ExtensionService#_doActivateExtension intersystems.language-server, startup: true, activationEvent: 'workspaceContains:**/*.cls,**/*.mac,**/*.int,**/*.inc,**/*.csp,**/*.csr'
2023-11-02 13:34:04.524 [info] Eager extensions activated
2023-11-02 13:34:04.561 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2023-11-02 13:34:04.564 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
2023-11-02 13:34:04.570 [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished'

InterSystems ObjectScript: v2.10.5
InterSystems Server Manager: v3.4.2
InterSystems Language Server: v2.4.0

@isc-bsaviano
Copy link
Contributor

isc-bsaviano commented Nov 2, 2023

@eduard93 This should be reported on the vscode-objectscript GitHub. Is there anyhting in the ObjectScript output channel? If not, can you get a wireshark trace?

EDIT: Actually, that tree is probably empty because you have no Studio projects in that namespace

@eduard93
Copy link
Author

eduard93 commented Nov 2, 2023

ObjectScript output channel is empty. Wireshark trace can't be decrypted as DH is used and VSCode does not allow export of session keys (as far as I know).

@eduard93
Copy link
Author

eduard93 commented Nov 2, 2023

But before I could see all classes in the namespace there. I don't have any projects, yes.

@isc-bsaviano
Copy link
Contributor

Are you using server-side editing? If so, what's the contents of your .code-workspace file?

@eduard93
Copy link
Author

eduard93 commented Nov 2, 2023

Yes: "objectscript.serverSideEditing": true, and I don't have a .code-workspace file.

@isc-bsaviano
Copy link
Contributor

That setting was deprecated and removed multiple versions ago. "Server-side editing" means "using virtual isfs workspace folders to edit documents directly on a server". If you just have a local folder open then you're using client-side editing, and the ObjectScript Explorer should be visible by default. You may have the objectscript.showExplorer set to false.

@isc-bsaviano
Copy link
Contributor

Resolved internally

@isc-bsaviano isc-bsaviano closed this as not planned Won't fix, can't repro, duplicate, stale Nov 2, 2023
@gjsjohnmurray
Copy link
Collaborator

gjsjohnmurray commented Nov 2, 2023

I guess the ObjectScript Explorer view had been hidden, leaving only the Projects view visible in the view container. So its title merged with the container title, as seen in the screenshot.

@isc-bsaviano
Copy link
Contributor

The settings.json was malformed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants