Skip to content

open-source-labs/SvelteStorm

main
Switch branches/tags
Code


SvelteStorm 4.0

SvelteStorm Homepage

Table of Contents

SvelteStorm

A Svelte IDE like no other. Embrace the storm. SvelteStorm is a new and improved open-source integrated developer environment (IDE). SvelteStorm is specifically tailored to provide all of the essential tools a Svelte developer needs to build a Svelte application. The IDE contains a code editor, a terminal environment, a file directory, a browser view, developer tools, and a component state viewer. SvelteStorm was built using Svelte and Electron and is downloadable for Windows and Mac operating systems. With the new and improved SvelteStorm, developers can now observe state changes in their applications using the Time Travel Debugger tool. From its modernized and clean UI, to its quick loading time and component state window, SvelteStorm is a rising star for the Svelte community.

New Features and Improvements

  1. Time Travel Debugger tool
  2. Real-time D3 Component Visualization
  3. Updated Browser window and Terminal
  4. Quality of Life changes
  5. A Cleaner & Bold Theme Style

How To Use SvelteStorm

  1. Click on the 'File' menu button in the top-left corner, then open a file or folder to begin editing. (You can also use CTRL+F to open a folder with a shortcut)
  2. When a Svelte project is opened, you will notice the File Directory populates showing all files in the directory. From here you can open, edit, and save files.
  3. To use the browser window, simply run any command to start your project and a new browser window will open to the localhost port your project is running on.
  4. To use the Time Travel Debugging feature, run the command npm run sdebug and a browser window will open with your project. Additionally, the Time Travel Debugging window will generate an initial snapshot of your project and a d3.js component hierarchy tree of your 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 the Snapshot button of your choice and you will see cards for each component that contain the component’s state at the time of the snapshot. As you navigate between Snapshots, you will notice your application state changes are reflected on your browser window. This will allow you to see how your applications state changes based on different events, happy debugging!
  5. Developer Tools are accessible via the 'Help' button in the top menu, or by using CTRL+D
  6. 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 4 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 4.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 USE WSL)

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.5 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.2.6
  • Link to Visual Studio
  • When prompted for modules to include, select the following:
    • Python development
    • Node.js development
    • Desktop development with C++
  1. Install Node Version Manager (nvm) for Windows
  1. Clone this repo to your code editor of choice (VS Code works best)
  2. Run npm install to install dependencies
  3. Run npm start and SvelteStorm will open up and be ready for use!
  4. Install the latest version of git
  5. Now Install Video Studio Code
  1. Install the following VS Code Extensions:
    1. Remote Development
      • Remote WSL
      • Remote SSH
      • Remote Containers
    2. CMake Tools
    3. C/C++ Extension Pack
  2. Clone this SvelteStorm 4.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!

Key Features

  1. Time Travel Debugging Dev Tool (NEW!)
  2. Real Time d3.js Component Hierarchy Visualization (NEW!)
  3. Upgraded Browser Window (NEW!)
  4. Updated Terminal. Built using XTerm (NEW!)
  5. Tooltips Bar on Mouse Hover
  6. Access to Svelte Documentation with a Single Click
  7. Responsive Window Resizing
  8. Tab Management Functionality Added
  9. A Clean & Bold Theme Style (NEW!)
  10. A code editor utilizing the “Dracula” dark-mode theme with syntax highlighting and bracket pair identification. Built using Code Mirror.
  11. A fully functional terminal environment to navigate file systems and run code
  12. A browser window for developers to see what their projects look like on the client end
  13. A functioning file directory where users can open files and navigate folders to edit within the code editor

Authors

Jim White | Karen Cheung | Elliott Burr | Ryan Huie | Ian Jackson |

Previous Authors

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'

About

SvelteStorm is an open-source IDE with a built-in State Manager window for viewing your svelte project in real-time

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published