SnowflakeThis extension enables you to connect to Snowflake, write and execute sql queries, and view results without leaving VS Code. Features
IntellisenseThis extension provides autocomplete support for database object names, built-in functions, and Snowflake SQL keywords. Database, schema, and table name suggestions will show up as you type your query. Keywords and object names display first in the list, followed by built-in functions. Function parameters will be highlighted as you type, and a link to the function documentation is available in the info panel. With your cursor inside an identifier, right click and select Accounts & SessionsLocated in the Activity Bar, the Account view lets you authenticate to Snowflake and switch between multiple accounts. Once logged in, you'll be able to see and change your active database, schema, role, and warehouse. Object ExplorerLocated in the Activity Bar, the Object Explorer provides a hierarchical view of your database and application objects:
You can copy the object name to your clipboard by clicking the inline action icon on the right of the highlighted line. Clicking on an object will open up the object details view in the Panel, displaying additional information for each object. You can also search for database objects using the search bar at the top of the Object Explorer. To turn this feature off, go to user settings and disable Stage OperationsWhen you expand a stage within the Object Explorer, you will be able to LIST all the files contained within that stage. To GET files, use the available download buttons to download an entire stage, a directory, or a single file. If you are interacting with an internal stage, you can also use the upload button to PUT a single file, multiple files, or an entire directory into the stage. Query ExecutionYou can use the inline "Execute" links to execute a given statement. To execute multiple queries, select the ones you want to run and press CMD/CTRL+Enter. You can also use the "Execute All Statements" button in the upper right corner of the editor window to run all queries in the current file. Query results will be displayed in the Panel. Query ResultsWhen you click on a cell in the results table, the content of that cell will be displayed to the right. If you wish to select multiple cells or entire columns, you can use SHIFT or CMD/CTRL. Additionally, you can select all columns and rows by using the checkbox located in the upper-left corner of the results grid. Located in the upper-right corner, there are three buttons:
There are CSV Export configuration settings available under the user setting Dragging a column header allows you to rearrange the column order. Right-clicking on a column header will allow you to sort, hide, or freeze that column. Query HistoryView previous queries executed in the Query History view, located in the Activity Bar. Clicking on a query will bring up its results in the query results view. Hovering over an item in the Query History view will allow you to copy the query or remove it from your local history. To clear all queries from history, click the icon in the top right of the Query History title bar. Snowpark Python SupportRun and debug Snowpark Python functions that take a Snowpark Receive automatic syntax highlighting and autocompletion suggestions for SQL statements written within Python files. To turn off automatic syntax highlighting, disable
Native Apps
Creating a new native appWith an empty workspace, using the command palette, Developing a native appWhen one or more
It is also possible to enable and disable debug mode from the Native App panel.
Alternatively, the user can right click this snowflake.yml and see commands in a context menu.
|