Giter VIP home page Giter VIP logo

bash.sugar's Introduction

GitHub! :octocat: Drop ICE!

hi there πŸ‘‹, i'm martin, or mkhl

(pronouns he/him)

i try to avoid github but network effects keep me here… some better places to find me:

bash.sugar's People

Contributors

mkhl avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

emilbayes

bash.sugar's Issues

Feature proposal: treat multiple comment lines as one token

Bash does not have a multi-line comment syntax, which makes multiple # comment lines clutter up the navigator in Espresso rapidly, to the point of rendering it useless in heavily commented code (point in case: license sections). Would it be possible to tweak the bash sugar to tokenize multiple consecutive comment lines as one comment block?

BASH.Sugar Crashes

The BASH sugar was causing Espresso to crash. I sent an error report to Macrabbit and here is the response:

The Bash.sugar conflicts with the bundled TEA for Espresso.sugar (the two use two different methods for leveraging Python that are incompatible). Currently, the only option is to uninstall one or the other. Future updates to TEA will remove this incompatibility.

Keep code block keyword visible on folding

Folding a function or command block hides all of the block, making folding of limited use as the content vanishes entirely from sight. Keeping the keyword part visible (i.e. function foo ... or if [-n "$0"] ..., as the PHP sugar does) would improve the usability of code folding.

case block is parsed beyond end

The parser misses case block ends. esac is not caught as a keyword, block highlighting and navigator indentation indicate the block is parsed as if continuing until the script's end. Syntax inspector reveals a spurious container.block.case-clause is found after the last real clause. [OT: otherwise great sugar, love it].

Display command block keywords in navigator

Unlike with functions, where it displays the function name, the navigator only displays a generic {...} for command blocks (if, case, while etc.). Displaying the clause itself (i.e. if {...}) would ease navigation; better even if the condition was displayed too (i.e. if: -n "$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.