Coder Social home page Coder Social logo

blakjakau / dev.jakbox.code Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 2.25 MB

Simple, fast, lightweight code editing. Edit your local code files straight from your web browser, or install the web app for that sweet "native app" experience.

Home Page: https://code.jakbox.dev

License: Other

JavaScript 99.06% CSS 0.24% HTML 0.70%
code code-editor editor pwa-app syntax web-application

dev.jakbox.code's People

Contributors

blakjakau avatar wrongtown avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

wrongtown

dev.jakbox.code's Issues

can't reload remote filesystems if they're disconnected at app load

Filesystem handles for workspace folders should be reloaded from localStorage at app load. This generally works, the handles are loaded from localStorage, then read, then saved back to localStorage in a call to saveAppConfig().

If using SSHFS or other remote mount mechanisms, if the remote filesystem isn't connected at the time that the app loads, the filesystem handles appear to be corrupted but the deserialize/serialize process. This forces the user to remove and re-add the folders from the workspace, after the remote filesystem has been mounted.

TODO:

  • separate the workspace object from the app object, and avoid resaving the workspace after load
  • (Ideally) support multiple workspace objects with independant loading
  • add remember/reopen of file buffers per workspace - may require an additional step like a "re-open all files" button, due to needing user-interaction for file access permissions
  • (bonus) store unsaved file buffers in some local storage mechanism and show tabs on workspace load

Suggested Enhancement: split/second editing view

Sometimes it can be useful to open a second window to view the same file from 2 different views. This could be incorporated into a single window with a split pane.

As an MVP this could be triggered by context menu on the TabBar OR FileList control and selecting "open in split pane". this should allow files that are already open to be viewed this way. Not sure if this should be a read-only editor, or linked to the same buffer - needs some exploration.

remember and re-open files in workspace record

When the app is closed all open files are closed, would be nice to have them re-open if the app still has permission to access the folders they come from. This may have to be implemented as a file open after / as the workspace folders are loaded, since the app can't read the files prior to that time.

Maybe can create tabs for the files, but display a link "this file is currently inaccessible, please open folder"

Goto: file

Add filename lookup to the omnibox for "Goto".
This could be just all active/open files? Or perhaps a background task could iterate the workspace folders and create an index?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.