Code Monkey home page Code Monkey logo

ini-for-vscode's Introduction

ini-for-vscode

License Version Installs Ratings

VSCode extension for ini file.

Provide outline view and section folding for INI file.

Features

  • Support outline view
  • Support section folding
  • Support folding between ';region' and ';endregion'

Requirements

VSCode 1.25+(Using built-in outline feature)

Extension Settings

None.

Known Issues

None.

Release Notes

[0.0.4]

  • Improve section/key/region regex to match accurately.

[0.0.3]

  • Modify README.TXT.

[0.0.2]

  • Support Region Folding. (';region' as line start to start a region, and ';endregion' as line start to end a region.)

[0.0.1]

  • Initial release

Enjoy!

ini-for-vscode's People

Contributors

daviduuang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ini-for-vscode's Issues

Dropdown menu for options

Is it possible to specify a list of allowed options a section can take, or allowed values an option can have? We could add this list in the json files maybe?

Marketing

It would be nice to see an animated GIF, or at least a screenshot or two, to help readers understand the value of this project.

Support for nested sections

Do you plan to support nested sections, eg.:

[section]
name = value

  [[sub-section]]
  name = value

    [[[sub-sub-section]]]
    name = value

multiline values not folding if last key

this folds ok

[mysection]
splitkey =
  value1,
  value2
firstkey = 12

[othersection]
mumbo = jumbo

this does not

[mysection]
firstkey = 12
splitkey =
  value1,
  value2

[othersection]
mumbo = jumbo

Settings: additional file extensions

It would be great, if you can add a settings property where the user can define custom file extensions. Many applications use proprietary file extensions for configuration files, but still ini syntax inside. In my case I would like to use ini outline view for *.inc files.

Outline does not work if file does not have ini extension

If file is opened in ini language mode, but does not have .ini extension, Outline section does not work.

Environment:

davidwang.ini-for-vscode:

Version: v0.0.4

VSCode:

Version: 1.55.2
Commit: 3c4e3df9e89829dce27b7b5c24508306b151f30d
Date: 2021-04-13T09:37:02.931Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0

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.