You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The **Import/Export Connection** config allows you to import and export connections in JSON format from the VSCode IDE without having to create them manually.
1. Open the Command Palette (Ctrl+Shift+P) and type the command to open the connection configuration for the installed database extension **OR** click the three dots (…) next to the Refresh button in the Connections window.
294
+
2. Select **Import Connections**.
295
+
3. Navigate to the location of the configuration file, such as a JSON file that contains the connection details, and select it.
296
+
4. Review the imported connection for accuracy.
297
+
5. Confirm the import.
298
+
299
+
To connect to the database, select the newly imported connection from the list of available connections and initiate the connection to the database. You can run a simple query or command to verify the connection is successful.
300
+
301
+
Note: If the imported connection has the same name as an existing connection, you will see a notification in the bottom right corner prompting you to either duplicate, overwrite, or cancel the import.
302
+
303
+
To export a connection:
304
+
305
+
1. Open the Command Palette (Ctrl+Shift+P) and type the command to manage connection configurations for the installed database extension **OR** click the three dots (…) next to the Refresh button in the Connections window.
306
+
2. Select **Export Connections**.
307
+
3. Choose the connection(s) you want to export.
308
+
4. Specify the format and location for the exported configuration file. For example, JSON, YAML.
309
+
5. Confirm the export action.
310
+
311
+
To verify the export is successful navigate to the saved location and open the configuration file to check its contents.
312
+
285
313
## Connection Labels
286
314
287
315
Connection Labels allow you to categorize and organize your connections by assigning them distinct names and colors, making it easier to manage and locate specific connections within the application.
@@ -427,13 +455,14 @@ To create a data source and run it against a specific connection:
427
455
1. Ensure you have at least one folder open in VS Code.
428
456
1. In the **DATASOURCES** view, click **+** and specify the parameters defined in the following table:
|**Connection**| Select a Connection from the **Connection** dropdown. |
461
+
|**Select API**| Choose **getData** from the **Select API** dropdown. |
462
+
|**Table**| Choose the table you wish to query from the **Tables** dropdown. |
463
+
|**Start Time/End Time**| Select the **Start Time** and **End Time** for the query. |
464
+
|**Row Limit**| Add a limit to the number of queries executed to reduce the number of Out of Memory (OOM) issues or failed queries. |
465
+
| Additional Parameters | You can choose from the additional parameters as required. |
437
466
438
467
1. Click **Save** to store the settings you have chosen, for reuse later. When you save a data source; query parameters and the connection details are stored. The data source icon is green if it is associated with a connection and grey if there is no association.
439
468
@@ -586,9 +615,20 @@ To update kdb VS Code settings, search for **kdb** from _Preferences_ > _Setting
586
615
|**Hide subscription to newsletter after first install**| yes/no; default no |
587
616
|**Insights Enterprise Connections for Explorer**|[edit JSON settings](#insights-enterprise-connections-for-explorer)|
588
617
|**Linting**| Enable linting for q and quke files |
618
+
|**Refactoring**| Choose refactoring scope |
589
619
|**QHOME directory for q runtime**| Display location path of q installation |
590
620
|**Servers**|[edit JSON settings](#servers)|
591
621
622
+
### Refactoring
623
+
624
+
By default, refactorings like renaming are applied to all files in the workspace. You can preview the changes before applying them and select specific files to apply the refactoring by pressing the **ctrl** or **command** key before executing the action.
If you only need to apply the refactorings to the currently opened files, you can select **Window** instead of **Workspace** for the refactoring option:
0 commit comments