Giter Club home page Giter Club logo

eclipse-batch-editor's People

Contributors

de-jcup avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

paulvi zhj2232006

eclipse-batch-editor's Issues

Syntax error reported with regular expression

Hi All;

When using regular expression in If condition, the syntax is as follow:

if [[ "StringValue" =~ regexp ]]
then
fi

Note that the regular experssion is not quoted and this is what we want.

example

if [[ "$MyValue" =~ ^-e.* ]]
then
echo "start with "-e"
fi

In the case the regular expression contains a bracket sign, the editor reports an error like in the code below

if [[ "${PAARMSS[$((idx+1))]}" =~ ^[[:space:]]{.$ ]]
then
echo Here
fi

the attached capture show the error in the editor.

Capture

Best regards;
Jean-marie

Feature Request: Custom syntax coloring for labels and numbers

First of all, thanks for this great editor - finally I can edit windows batch files inside eclipse and don't need to use an external editor!
I have to work with labels and return codes from called programs a lot. For this, it would be great if there were a configuration items in Syntax Coloring for labels (including the ':'-character) and numbers.

I thought I just five it a try and create a corresponding feature request for your project :-)

Kind regards,
Michael

By the way, your SQL-Editor also works great!

Number syntax highlighting bug

With #17 number highlighting was introduced.

But unfortunately there is a bug when a equals is in front of the number (without spaces) - see next figure. The first number is not highlighted.

image

Variables with marked for delayed expansion not recognized

When a variable is referenced as !VarName! so that the variable is expanded at execution time for delayed evnvironment variable expansion, the !VarName! is not syntax colored as %VarName% is.

Thanks for a great addition to Eclipse for when I need to delve into the batch file realm.

Preference failures

  • remove unexisting "validation" preference link in preferences tree
  • inspect words set in preferences and replace "bash" specific parts with "batch" ones

Fix documentation

  • replace "bash" parts with "batch" ones
  • remove documentation for unexisting features

Change string end handling

Inside gradlew.bat there is a line with

set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe

So this seems to be valid - but currently this is a multiline rule which outputs:

image

So shall be changed to single rule

batch editor 1.0 with eclipse oxygen2 cause Eclipse no response

In Eclipse Oxygen2,when editing bat file with batch editor,Eclipse always become no response.when i input ech,it is OK.but when i continue type o,it become no response.however,if i input ech,then type blank space, type o,if i delete blank type now.it is OK.
Os:win10 professional x64
JAVA version:1.8_152
eclipse platform:eclipse c++ x64

Unable to install Batch or Bash Editors

When attempting installation, I get the following error:

Unable to read repository at https://dl.bintray.com/de-jcup/batcheditor/content.xml.
Unable to read repository at https://dl.bintray.com/de-jcup/batcheditor/content.xml.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

When I visit the site, https://dl.bintray.com/de-cup/batcheditor, there is no content.xml file located there. Same for bash editor

Deployment Version 0.2.0

  • Increase version + push
  • Build
  • Deploy to bintray
  • Release at github
  • Update eclipse marketplace
  • Final test

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.