/SvelteStorm

SvelteStorm is an open-source IDE with a built-in Debugging window for viewing and debugging your Svelte project in real-time

Primary LanguageSvelteMIT LicenseMIT


SvelteStorm 5.0

SvelteStorm Homepage

Table of Contents

SvelteStorm

A Svelte IDE like no other. Embrace the storm. SvelteStorm is an open-source integrated developer environment (IDE) specifically tailored to provide essential tools a Svelte developer needs to build a Svelte application. With the new and improved SvelteStorm 5.0, we've improved the developer experience with performance metrics, split view, search, and linting, in addition to the existing code editor, terminal environment, file directory, browser view, developer tools, and component state viewer. SvelteStorm is built using Svelte and Electron and is downloadable for Windows and Mac operating systems.

New Features and Improvements

  1. App Performance Metrics
  2. Split View
  3. Search
  4. Linting
  5. Quality of Life changes

How To Use SvelteStorm

  1. Click on the 'File' menu button (CTRL+F or CMD+F will also work) in the top-left corner, then open a file or folder to begin editing.
  2. When a Svelte project is opened, the File Directory populates with all of the files in that directory. From here, files can be opened, edited, and saved.
  3. To use the browser window, start your project (i.e run 'npm start') and a new browser window will open up to the local port the project is running on.
  4. To search through open files, CMD+F while in the editor window.
  5. To gather App Performance metrics:
    • Start the application with the command 'npm run performanceSS'.
    • Click on the 'Performance Dash' button on the top right of the application to view the dashboard,
    • Interact with the application - the dashboard will update automatically. Some of the web vitals will populate once the app is closed.
    • Click 'back' at the bottom of the window to exit the dashboard.
  6. To enable Split View, click the 'Split View' button on the top right of the application. Click 'back' at the bottom of the window to exit the dashboard.
  7. To use the Time Travel Debugging feature:
    • Run the command 'npm run sdebug' and a browser window will open with the project. Additionally, the Time Travel Debugging window will generate an initial snapshot of the project as well as a d3.js component hierarchy tree of the application. Any action on the browser window that creates a state change in your application will generate a new snapshot and update the d3.js tree.
    • To view previous snapshots, click on any Snapshot button and cards containing each component's state at the time of the snapshot will appear. Application state changes are reflected in the browser window as you navigate between Snapshots - this allows for viewing of state changes based on different events.
  8. Developer Tools are accessible via the 'Help' button in the top menu, or by using CTRL+D
  9. For more information, click on SvelteStorm's Website via the 'Help' button for VSCode users the link below can provide insight to potential installation issues: #57

SvelteStorm Demo

Installing SvelteStorm 5 for the Purpose of Enhancing SvelteStorm as an IDE

macOS

  1. If using Node Version Manager (nvm) enter the following commands to help ensure a smooth installation: Install node version 16.16.0
    • nvm install 16.16.0
    • nvm use 16.16.0
    • nvm alias default 16.16.0
  2. Clone this SvelteStorm 5.0 repo to your code editor of choice (VS Code works best)
  3. Run npm install to install dependencies
  4. Run npm start and SvelteStorm will open up and be ready for use!

Windows

Do Not attempt to use anything related to WSL.

  1. Install all of the latest Windows Updates (including the optional ones)

  2. Install the latest PowerShell (version 7.2.6 as of this writing)

  3. Install Microsoft Visual Studio

    • Note: This IS NOT Visual Studio Code … Just plain Visual Studio
    • As of this writing 17.3.4
    • Link to Visual Studio
    • When prompted for modules to include, select the following:
      • Python development
      • Node.js development
      • Desktop development with C++
  4. Install Node Version Manager (nvm) for Windows ([a walkthru is available on GeeksforGeeks])(https://www.geeksforgeeks.org/how-to-install-and-use-nvm-on-windows/)

    • Using nvm enter the following commands to install Nodejs version 16.16.0
      • nvm install 16.16.0
      • nvm use 16.16.0
  5. Clone this repo to your code editor of choice (VS Code works best)

  6. Run npm install to install dependencies

  7. Run npm start and SvelteStorm will open up and be ready for use!

  8. Install the latest version of git

  9. Now Install Visual Studio Code

  10. Install the following VS Code Extensions:

  11. Clone this SvelteStorm 5.0 repo to your code editor of choice (VS Code works best)

  12. Run npm install to install dependencies

  13. Run npm start and SvelteStorm will open up and be ready for use!

Key Features

  1. (NEW!) App Performance Dashboard - gain insights into your Svelte application such as the number of times different components are rendered and web vitals.
  2. (NEW!) File Search - search through open files in the code editor.
  3. (NEW!) Split View - view two files at once.
  4. (NEW!) Javascript and HTML Linting - quickly find and fix syntax errors and warnings.
  5. Time Travel Debugging Dev Tool
  6. Real Time d3.js Component Hierarchy Visualization
  7. Upgraded Browser Window
  8. Updated Terminal. Built using XTerm
  9. Tooltips Bar on Mouse Hover
  10. Access to Svelte Documentation with a Single Click
  11. Responsive Window Resizing
  12. Tab Management Functionality Added
  13. A Clean & Bold Theme Style
  14. A code editor utilizing the “Dracula” dark-mode theme with syntax highlighting and bracket pair identification. Built using Code Mirror.
  15. A fully functional terminal environment to navigate file systems and run code
  16. A browser window for developers to see what their projects look like on the client end
  17. A functioning file directory where users can open files and navigate folders to edit within the code editor

Authors

Mahmoud Albadawi | Kiran Banger | Leilani Hernandez | Javi Orozco |

Previous Authors

Jim White | Karen Cheung | Elliott Burr | Ryan Huie | Ian Jackson | Andy Jiang | Colton Robbins | Ricky Johnson | Zachary Radford | Arron Nestor | Aye Moe | Frank Stepanski | Kevin Sarchi | Sam Filip | Cayla Co | Swetha Kunda | Miller Johnston | Sina Kahrobaei

Contributing

There are many ways in which you can participate in this project, for example:

  • Check for known issues that you may be able to provide input on
  • Submit bugs and feature requests, and help us verify as they are checked in
  • Review source code changes
  • Review the documentation and make pull requests for anything from typos to additional and new content

This application uses Open Source components. You can find the source code of their open source projects along with license information below. We acknowledge and are grateful to these developers for their contributions to open source.

Project:

Delorean https://github.com/oslabs-beta/DeLorean\nCopyright (c) 2022 OSLabs Beta

License (MIT) https://github.com/oslabs-beta/DeLorean/blob/main/LICENSE'