Introduction
The goal for the VSCode extension is to build an assistant that improves software developer productivity. The VSCode extension happens to be the perfect example of an application and VSCode extensions need to be open-sourced. It's really the perfect situation for developers to learn how to build on top of it.
The extension uses our NotionJS API in both Node and the browser. We use the browser for authentication and then pass the credentials back to the Node application so we can make the status bar active.
The two main features with the VSCode extension are to track historic flow states throughout your days and the second feature is to help you stay in a focused state longer. These features are powered by flow.
Getting started
If you're serious about building with the VSCode extensions, we highly recommend you check out Microsoft's excellent documentation and examples.
Minimum Software Requirements
Here are the minimums to get started
- VSCode
- NodeJS and NPM (We recommend using a package installer)
Get the source code
To download the VSCode extension, simply clone it's GitHub repository.
From the command line
git clone https://github.com/neurosity/plugin-vscode-notion.git
cd plugin-vscode-notion
code .
If the `code .` line does not launch your VSCode application, learn how to launch VSCode from the command line.
Setting up the development environment
Now that you have your VSCode application open, you will need to use npm (the Node Package Manager) from the command line to install the dependencies.
npm install
If that did not install correctly, copy the error message and search the GitHub issues, or chat with us in real-time on our discord server, or submit a request for help.
Run the extension
To learn how to run an extension, check out Microsoft's documentation here.
Essentially, you need to press the start button
The first time you run the extension, you'll have to enter your Neurosity username and password that you use with the developer console to authorize the extension access to your Notion. To learn how to use the developer console, check out our guide here.
Comments
0 comments
Please sign in to leave a comment.