Skip to content

ali-issa/vscode-inline-fold

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Download

VSCode Inline Fold Extension

This extension miminc the folding experiance but for inline code folding. It also expand/unfold the code when clicking or selecting the code block. Useful when you work on utility classes in a framework like tailwind css, this would allow to see the code in cleaner view. It can be configured to select what part of the line code that should be folded.

Available Settings:

  • inlineFold.regex regex to match the code line
  • inlineFold.regexFlags regex flags
  • inlineFold.regexGroup regex group that match the code that should be folded
  • inlineFold.unfoldedOpacity opacity of the unfolded code when is clicked by mouse or being selected
  • inlineFold.maskChar text/character to mask the code when it is folded
  • inlineFold.maskColor color of the mask character
  • inlineFold.after an optional text/character to append to the end of folded code

Notes!

  • Use settings UI to configure the extension.
  • No registered commands yet.
  • I would love to hear some suggesions :)

Change log

About

A custom decorator that "fold" matching content in single line

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%