-
-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code folding in editor #77
Comments
It's possible to add it, but I'm not sure if it's a smart idea. Of course, in some cases, it will be useful. But you can edit/create components in a local code editor with more editing capabilities. @molda @Will-create What do you think about it? Personally, I'm not sure. |
Most of the modern code editors has this build-in, so i assume there must be demand for it. |
Most modern code editors do have it built in because when working on larger projects, it can be a godsend. Using a local code editor is good for some things absolutely, but when working on the fly and using Flow itself as a development tool for building out components having as fully feature rich editor as possible makes it that much better to use and will make a lot more people enjoy using it. It allows for more rapid development and deployment. When creating a new component often I'll start with a Code component, play around with functionality, then shift it over into it's own component and add additional functionality to it. I imagine a public registry, or a standard which every public project can follow, to share components to manage their software. Redis, mongodb, elastic, etc could all create and provide components. This could simplify development significantly and allow virtually anyone to be able to create and share applications or even parts of them. With a public repo similar to npm people could easily just install any collection of components from anyone. Pick and choose what they need for their application. Anyway, end rant, hope these words of encouragement and potential ideas for it find you well. |
I don't see any problem adding it. Most of people using VSCode or Sublime and Codepen text editors are used to it. it makes it easy to select/copy/read blocks. And editor preferences settings also is good idea too, since it will make such things optional for people. |
Okay, I've decided. It will be added shortly. |
Would you be able to enable code folding in the CodeMirror editor? Building some larger components and it would help significantly for visability.
The text was updated successfully, but these errors were encountered: