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

Adding connection from command line doesn't connect editors #18132

Open
Charles-Gagnon opened this issue Jan 20, 2022 · 0 comments
Open

Adding connection from command line doesn't connect editors #18132

Charles-Gagnon opened this issue Jan 20, 2022 · 0 comments

Comments

@Charles-Gagnon
Copy link
Contributor

Charles-Gagnon commented Jan 20, 2022

  1. Run azuredatastudio --server SERVER_NAME --database DATABASE_NAME -E 'PATH_TO_FILE.sql' from command line

Expected : Editor is opened and connected to server

Actual : Editor is opened and connection is added to OE but the editor is not connected

Per the logic here we should be connecting the editor if a connection was passed in : https://github.com/microsoft/azuredatastudio/blob/main/src/sql/workbench/contrib/commandLine/electron-browser/commandLine.ts#L162

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

No branches or pull requests

3 participants