Skip to content

dolphindb/vscode-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DolphinDB VS Code Extension

DolphinDB VSCode Extension

vscode extension version vscode extension installs dolphindb api version

English | 中文

Microsoft Visual Studio Code (VS Code) is a powerful and lightweight code editor with a rich extensibility model. VS Code extensions let you add languages, debuggers, and tools to your installation to support your development workflow.

Install the DolphinDB Extension for VS Code to add the DolphinDB scripting language in VS Code, which enables you to write and execute scripts in VS Code to operate the DolphinDB database and access its data.

Features

  • Code highlighting
  • Code completion for keywords, constants, built-in functions
  • Documentation and parameter hints for built-in functions
  • Displays code execution results and print() output in the integrated terminal
  • Displays running script status in bottom status bar with option to click to cancel
  • Displays data structures like tables, vectors, matrices in browser pop-up windows
  • Displays connections, databases and session variables in the sidebar
  • Displays tables, vectors, and matrices in browser pop-up windows
  • Exports DolphinDB tables to disk (.csv file)

Use

For information on how to use this extension, see official documentation at the DolphinDB website.

Development

# Install the latest version of nodejs
# https://nodejs.org/en/download/current/

# Install the pnpm package manager
corepack enable
corepack prepare pnpm@latest --activate

git clone https://github.com/dolphindb/vscode-extension.git

cd vscode-extension

# Install project dependencies
pnpm install

# copy .vscode/settings.template.json to .vscode/settings.json
cp .vscode/settings.template.json .vscode/settings.json

# Refer to scripts in package.json

# Build the development version
pnpm run dev

# Switch to the debug panel in VSCode and start the ddb.ext debugging task (you need to disable or uninstall the installed dolphindb plugin first)