GithubHelp home page GithubHelp logo

georgezlei / vscode-better-folding Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mtbaqer/vscode-better-folding

0.0 0.0 0.0 7.79 MB

VS Code extension to improve your folding experience

Home Page: https://marketplace.visualstudio.com/items?itemName=MohammadBaqer.better-folding

License: MIT License

TypeScript 100.00%

vscode-better-folding's Introduction

icon

Better Folding - VSCode Extension

Better Folding

Better Folding provides many commonly requested folding-related features all together in one extension.


Better Folding Extension Preview

Disclaimer

This is the first release of the extension, so it is not fully battle tested yet. If you encounter any issue or would like to contribute, please visit the GitHub page.

Features

Folding Closing Brackets

Better Folding Extension Folding Closing Brackets Feature Preview

Showing Folded Lines Count

Better Folding Extension Showing Folded Lines Count Feature Preview

Showing Folded Brackets

Better Folding Extension Showing Folded Brackets Feature Preview

Showing Only The Region Description

Better Folding Extension Showing Only The Region Description Feature Preview

Show only function parameters names in folded function parentheses

Better Folding Extension Function Params Folding Preview

Folding closing tags (currently JSX and TSX, HTML next)

Better Folding Extension Folding Closing Tags Preview

Show objects preview

Better Folding Extension Folding Showing Object Previews Preview

Zen Folding

Better Folding Extension Zen Folding Preview

Planned Features

Show function content for short functions

Based on microsoft/vscode#76396

Supported Languages:

Most brackets-based languages: JavaScript, TypeScript, C, C#, C++, Java, Kotlin, PHP, Go (Golang), Dart, Rust, Swift, CSS, LESS, SCSS and more...

XML-based languages: JSX and TSX.

Work in progress: HTML.

Known Issues

  • When switching between tabs, the folding ranges take a second to update. This is an issue with VS Code itself. Waiting for a fix.
  • If a folding range is at the end of the file, sometimes it would fold the start line while scrolling. Again, this is an issue with VS Code API, will submit an issue to their repo soon.
  • The cursor can hide behind the folded text. Working on a fix.

Changelog

See the project's changelog here.

Big thanks to these source codes

Bracket-Pair-Colorizer-2 (by CoenraadS)

vscode-blockman (by leodevbro)

vscode-inline-fold (by moalamri)

vscode-explicit-folding (by zokugun)

vscode-better-folding's People

Contributors

mtbaqer avatar tom-fletcher avatar

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.