(pronouns he/him)
i try to avoid github but network effects keep me here⦠some better places to find me:
- π: mkhl.codeberg.page
- β¨οΈ: codeberg.org/mkhl
- π: @mkhl
- π’: @innoq
A Sugar adding sweet Bash support for Espresso
License: MIT License
(pronouns he/him)
i try to avoid github but network effects keep me here⦠some better places to find me:
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?
Not sure which sugar causes the problem, so I am opening an issue on both: PHP code completion (form the official PHP sugar at http://github.com/derekr/php.sugar/tree) is leaking into bash scope (and only into this).
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.
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.
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].
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"
).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.