Comments (8)
@jief666 Please give me example code - and if possible a screenshot too.
from eclipse-bash-editor.
@jief666
I think I found a problemetic code by myself:
echo This shouldn\'t be a problem
echo 'Or did you expect this to be?'
this results in
which is not correct. Did you mean this bug?
from eclipse-bash-editor.
After change to single line variant I still got following problem:
So it seems to be necessary to create an own rule which works/does syntax highlighting only, when more then one apostrophe is used
from eclipse-bash-editor.
After implementing own bash string rule the output is shown as in next picture:
There are still some tests necessary to check side effects.
from eclipse-bash-editor.
Strings can be mutli lined in bash, so the former reduction to a single line was not correct.
- The new BashStringLineRule has to be enabled as multi line again
from eclipse-bash-editor.
Yes, that was this bug.
I think the solution is : if it's ', just treat as a normal char, like bash do.
I didn't understand what you meant by "bash rule"
from eclipse-bash-editor.
@jief666 sorry about the "bash rule", I didn't want to confuse. It's just a name for an implementation part inside my code. I used the issue to document my changes - maybe a little bit too much.
from eclipse-bash-editor.
Fix done - will come with Release 0.9.2. See screen shot for fixed colouring (dark theme variant):
from eclipse-bash-editor.
Related Issues (20)
- Debugger does not work on Linux mint when other gnome-terminals are running before HOT 2
- "Open path in terminal" on a project without existing resoures freezes IDE HOT 2
- Implement hyperlinking for "source" files HOT 1
- Improve tooltip of "for" command
- Ctrl+{ collides with default eclipse key binding HOT 3
- Bash parser shows errors for working script
- Syntax highlight problem with strings HOT 1
- Handle "File not found" errors on building shared bash model HOT 2
- Drop EclipseUtil and use only the implementation from commons
- Suggestion: Move “Variables are shown in outline” from global preference to individual option
- Highlighting selected variables should not depend on “Variables are shown in outline” preference HOT 2
- IF Template with mix of spaces and tabs HOT 1
- Launch configuration should have variables and prompts for parameters HOT 3
- Bash Editor should not use crlf HOT 2
- Bash debug session shall show debug perspective per default HOT 1
- Release 2.9.0
- Doesn't work with Symlinks
- Install failed for Photon 4.8
- Feature request: Integrate shellcheck
- Open path in terminal menu entry visible despite preference set to false HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eclipse-bash-editor.