PitchHut
Log in / Sign up
DenoNBTS
47 views
Seamlessly integrate Deno LSP support in VSCode notebooks.
Pitch

DenoNBTS is a powerful Visual Studio Code extension that enhances your development experience by adding Deno language server support to notebooks. With the ability to create and run .nb.ts notebook files without Python, DenoNBTS enables a smooth workflow by allowing you to import between notebooks and utilize Deno's Jupyter kernel directly in VSCode.

Description

Enhance your coding experience with DenoNBTS, a powerful Visual Studio Code extension specifically designed to support notebooks using the Deno language server. Building on the foundation of the original Deno extension, this fork introduces exciting new features, including a uniquely defined notebook type (*.nb.ts) and a built-in kernel for running notebooks without the need for Python.

Key Features:

  • LSP Support for Notebooks: Seamlessly integrate Deno with your notebook workflows using the Language Server Protocol (LSP).
  • Custom Notebook Format: Utilize the versatile *.nb.ts format to easily import and manage code across your notebooks.
  • Deno Kernel for VSCode: Forget about Jupyter; run your notebooks directly in Visual Studio Code.
  • Type Checking and Quick Fixes: Enjoy robust support for both JavaScript and TypeScript, complete with real-time diagnostics, hover cards, and IntelliSense.
  • Aligned with Deno CLI: The extension works in harmony with your installed version of the Deno CLI, ensuring consistent behavior and functionality.
  • Remote Module Caching: Gain efficiency as the extension resolves modules in line with Deno CLI's module resolution strategy, caching remote modules for faster access.
  • Formatting and Linting: Leverage essential Deno tools like inline diagnostics and automatic code formatting for a cleaner codebase.
  • Flexible Configuration: Easily specify import maps and TypeScript settings to tailor the extension's behavior to fit your project needs.

Usage Instructions:

  1. Ensure you have the Deno CLI (version 1.13.0 or later) installed.
  2. Install the DenoNBTS extension in Visual Studio Code.
  3. Set your deno.path in the settings if Deno is not available in the environment path.
  4. Activate Deno in your workspace by running the command Deno: Enable.

Getting Started:

Simply rename any .ts file to .nb.ts to transform it into a notebook and start coding. You can also quickly create a new notebook by executing:

touch test.nb.ts

This extension is your gateway to utilizing Deno's robust capabilities within notebooks, making it an essential tool for any developer looking to enhance their coding environment! If you find this extension helpful, please leave feedback.