kdcro101 / vscode-cassandra

Design and query Apache Cassandra database with help of generated templates, autocomplete and inline code decorations in Visual Studio Code
GNU General Public License v3.0
22 stars 6 forks source link

Can't generate configuration #11

Open chandrajeet opened 5 years ago

chandrajeet commented 5 years ago

Installed the workbench extension. Giving command 'cassandraWorkbench.generateConfiguration' not found

InformaticaCNE commented 5 years ago

The same issue here, there's any solution?, Thx!

chandrajeet commented 5 years ago

Yea it's the stupidity of VS code. Just do the following it'll work:

Create a folder and right click open with VS code. Then it'll work

InformaticaCNE commented 5 years ago

Thx, it works!

kdcro101 commented 5 years ago

@InformaticaCNE , @chandrajeet ,

Guys, sorry for the late response.

Workspace needs to be opened. If workspace is not opened extension is not activated, hence missing command.

Thank you for your feedback!

vlad2135 commented 5 years ago

@kdcro101 still doesn't work. I've created a new empty folder, created workspace, saved it (path contains spaces), closed vscode, clicked cassanra.code-workspace, vscode launched, I've went to extension tab, clicked gear icon and still same error - command 'cassandraWorkbench.editConfiguration' not found.

VSCode info: Version: 1.39.1 (system setup) Commit: 88f15d17dca836346e787762685a40bb5cce75a8 Date: 2019-10-10T23:31:28.683Z Electron: 4.2.10 Chrome: 69.0.3497.128 Node.js: 10.11.0 V8: 6.9.427.31-electron.0 OS: Windows_NT x64 10.0.17134

czd890 commented 4 years ago
  1. Open folder
  2. Enter F1, input cassandra, select Cassandra Workbench: Generate configuration image
vlad2135 commented 4 years ago

@kdcro101 thank you, problem is solved.

mirronelli commented 4 years ago

You need to have the folder open, not the workspace as the extension suggests. Either use 'File\Open Folder' from inside vscode, or right click a folder and choose open with vscode. DO NOT open the workspace.