Table of Contents
Nexus is a VSCode Extension created for NextJS developers! As codebases scale in size and complexity, developers may feel overwhelmed as they keep track of tens of components and hundreds of props elements per file. Nexus aims to help developers overcome unnecessary mental strain through 3 main methods:
- Displaying file-specific component hierarchy in your VSCode sidebar
- Including component-specific state and props objects for parent and child components
- Differentiating between server-side rendered and static-site generated components
We at Team Nexus hope that you enjoy our extension, taking advantage of a time-tested component tree model that integrates the unique features of NextJS!
-
Install Nexus
-
A node tree icon should appear on your sidebar. You've now installed Nexus! Woot Woot! Now on to the "Getting Started" section below.
Note: If contributing, see the "Installation for Contributors" section below!
Congrats on installing Nexus! Now let's get it started.
Nexus supports OSX, Windows, and WSL
- Click the node tree icon on your sidebar. An "Input File Here" button should appear on your side panel!
2. Click the button and your file explorer window will open. Select a file and press "Ok".
- Your side panel should now render a component tree that displays SSG or SSR status! Clicking on components will render child components if they exist and hovering over components will display their props objects. Enjoy!
- Creating a webview to look deeper into structure of individual components
- Making the parser more dynamic and flexible
- Handling Link Components
- Error checking in the frontend to ensure that uploaded files are either NextJS or React
- Add status bar item for Nexus
- Store component tree memory in VSCode
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork & Clone Nexus
- Create your Feature Branch (
git checkout -b <github_username>/<YourAmazingFeature>
) - Make your Changes (See Making Changes below)
- Commit your Changes (
git commit -m '<Your Commit Message>'
) - Push to the Branch (
git push origin <github_username>/<YourAmazingFeature>
) - Open a Pull Request
- Make your changes!
- Open /nexus/src/extension.ts and save any changes you made
- Re-compile and re-build your extension using the command line:
npm run compile
&npm run build
- Press F5. A new VSCode window should open. This is your debugging environment!
- Repeat step 3 and refresh your debugging environment to test further changes
Distributed under the MIT License. See LICENSE
for more information.
- Mike Hong LinkedIn | Github
- Brian Chiang LinkedIn | Github
- David Lee LinkedIn | Github
- Nico Flores LinkedIn | Github
- Alex Hersler LinkedIn | Github
Email: nexusjsadm@gmail.com
Twitter: @teamnexus_js
Website: https://nexus-js.com/