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.
Minimum Software Requirements
Here are the minimums to get started
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
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.
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.