How to load a previously created app in Pythagora VS Code extension

Pythagora
3 Sept 202403:03

TLDRIn this video, you'll learn how to load a previously created app in the Pythagora VS Code extension. First, click on the Pythagora icon on the left side of the screen to load the extension. Then, click 'Load App' and select the application you want to continue working on. You can also choose to resume at the latest development step or return to a previous step. Pythagora may detect changes made to the app outside of its environment, allowing you to either keep those modifications or revert to the previous state. Join the Discord for further assistance.

Takeaways

  • 💻 Make sure to click the Pythagora icon on the left-hand side to load Pythagora in VS Code.
  • 📂 On the right-hand side, click 'Load App' at the bottom to open a previously created application.
  • ⬇️ Use the first drop-down menu to select the specific app you want to continue working on.
  • 🛠️ The second drop-down menu lets you choose the development step, either continuing from the latest step or selecting a previous one.
  • 🔄 You can scroll back to a previous task or step if you want to redo it or take a different direction.
  • ⚙️ After selecting the app and development step, click 'Load App' to start loading the application.
  • 📁 Pythagora may detect new or modified files in the app if changes were made outside of Pythagora.
  • ✅ If you want to keep these changes, select 'Yes' to incorporate them into the app's development.
  • ❌ Select 'No' to restore the app to its previous state, discarding any modifications made outside of Pythagora.
  • 💬 If you encounter any issues, reach out for support on the Pythagora Discord channel.

Q & A

  • How do you load a previously created app in the Pythagora VS Code extension?

    -First, click the Pythagora icon on the left-hand side to load Pythagora. Then, on the right-hand side, click the 'Load App' button at the bottom.

  • What options do you see after clicking the 'Load App' button?

    -You will see two dropdown menus. The first allows you to select the app you want to continue working on, and the second lets you choose the development step.

  • What happens if you leave the 'Select development step' dropdown as 'latest step'?

    -The app will pick up from the latest step, allowing you to continue from where you left off previously.

  • How can you load a previous development step?

    -You can scroll through the 'Select development step' dropdown and choose a previous task or step to redo or to take the app in a different direction.

  • What does Pythagora do if it detects new or modified files?

    -Pythagora will notify you of any new or modified files since you last worked on the app. It will ask if you want to keep or disregard those changes.

  • What happens if you choose to keep the changes detected by Pythagora?

    -Pythagora will incorporate the modifications you made into the app, and you'll continue working with the updated code base.

  • What happens if you choose to disregard the changes detected by Pythagora?

    -If you disregard the changes, Pythagora will restore the code base to its previous state, removing any modifications you've made.

  • How does Pythagora help after loading an app with new or modified files?

    -Pythagora detects changes and gives you the option to keep or discard them, allowing you to either work with the new updates or revert to the original code.

  • What should you do if you encounter issues with the Pythagora extension?

    -You can reach out for support on the Pythagora Discord, where the team is available to help with any questions or issues.

  • How do you revert the app to the exact state it was in before modifications?

    -You can choose to restore the app to the last state when Pythagora was previously used by selecting 'no' when prompted about keeping the changes.

Outlines

00:00

🚀 Loading a Previous Application in Pythagora

In this section, the presenter explains how to load a previous application in Pythagora. First, you need to ensure that the Pythagora icon is clicked on the left-hand side to load the tool. Then, on the right-hand side of the screen, click the 'Load App' button. This will bring up two drop-down menus: one for selecting the specific app and another for choosing the development step you wish to load, either the latest or a previous step.

🔄 Choosing a Development Step

This part describes how to select the specific development step in the application. You can either choose to continue from the latest step or scroll back to an earlier step to redo or change the direction of the development. Once you make your selection, clicking 'Load App' will load the application with the chosen configuration, allowing you to either resume from where you left off or make modifications from a previous step.

📂 Handling New or Modified Files

The presenter explains what happens if new or modified files are detected when loading the application in Pythagora. If you made changes to the application outside of Pythagora, the tool will notify you of these changes, showing how many files were affected. You can choose whether to keep the modifications or disregard them to restore the app to its prior state before the changes were made.

🤔 Keep or Restore Changes

In this section, Pythagora gives users the option to either keep the changes made to the codebase or restore the code to its previous state. If 'yes' is selected, Pythagora will retain the changes and integrate them into the ongoing work. If 'no' is selected, the code will revert to the last state Pythagora was working on, ignoring any new modifications made outside the tool.

👨‍💻 Final Steps and Support

The final part concludes the process, encouraging users to make their choice regarding keeping or restoring changes. The presenter also mentions that help is available on Discord if any questions or issues arise, with a welcoming note to continue coding with support from the community.

Mindmap

Keywords

💡Pythagora

Pythagora refers to a tool integrated into VS Code, used for managing applications and their development stages. In the video, it's the central tool being demonstrated for loading and managing app states.

💡Load app

The 'Load app' button in Pythagora allows users to reopen a previously worked-on application. This action is key to resuming work on an app, which is the main task being demonstrated in the video.

💡Development step

Development step refers to different stages in the app development process. In the video, users can select the latest step to continue from where they left off or revert to a previous step to modify or redo part of the process.

💡Modified files

Pythagora detects changes made to files in the application, whether done within or outside of the tool. These modified files are highlighted so users can decide if they want to keep these changes or revert them.

💡Keep changes

The 'Keep changes' option allows users to retain any modifications they made to their code outside of Pythagora. This preserves their work and integrates it into the current app state.

💡Restore to previous state

This refers to the option where users can discard changes made outside of Pythagora and revert their app back to the previous state it was in when last worked on within the tool.

💡Discord

Discord is mentioned as a platform where users can seek help or ask questions about using Pythagora. The video encourages viewers to connect with the community for support.

💡VS Code

Visual Studio Code (VS Code) is the platform where the Pythagora extension is used. It is a widely used code editor, and the video focuses on the interaction between this editor and the Pythagora tool.

💡Previous task

A previous task refers to earlier steps or assignments in the development process that can be revisited. The video demonstrates how users can choose to go back and redo or modify such tasks using Pythagora.

💡Happy coding

This phrase is used at the end of the video, encouraging the audience to enjoy their development work and signaling a friendly, community-driven tone of the tutorial.

Highlights

Click the Pythagora icon on the left-hand side to load Pythagora.

On the right-hand side of the screen, click the 'Load App' button at the bottom.

You will see two dropdown menus: 'Load App' to select your specific app, and 'Select Development Step' to choose your previous step.

To continue from where you left off, keep 'Latest Step' selected.

If you want to return to a previous step, select it from the 'Select Development Step' dropdown.

Once you've selected the app and step, click 'Load App' to start loading.

Pythagora may detect new or modified files since your last session.

You can decide whether to keep or discard changes made outside of Pythagora.

If you choose 'Yes,' Pythagora will incorporate those changes into the codebase.

If you choose 'No,' Pythagora will restore the app to its previous state before those changes.

Pythagora detects changes to ensure you can revert to the correct state if necessary.

You can always choose to pick up where you left off or backtrack to a previous step for rework.

Selecting 'No' discards any recent modifications and reverts the code to the last saved state.

Pythagora will then proceed based on your selections, either maintaining or disregarding the changes.

If you encounter issues, the Pythagora team is available on Discord for assistance.