Code Monkey home page Code Monkey logo

Comments (5)

angelozerr avatar angelozerr commented on June 19, 2024 1

@p-bakker this project is very old and it could have some bugs. I'm moving ec4e to Eclipse Platform (step by step).

I started the PR eclipse-platform/eclipse.platform.text#90 which provide only apply of proprties (without syntax coloration, without validation etc for .edtorconfig). Please be patient :)

from ec4e.

p-bakker avatar p-bakker commented on June 19, 2024

K, was hoping though to be able to use it before this eventually gets rolled into Eclipse

from ec4e.

angelozerr avatar angelozerr commented on June 19, 2024

I'm sorry I have no time to maintain both projects.

from ec4e.

wesleybl avatar wesleybl commented on June 19, 2024

When I open a .ts file from within a subfolder of my project in the Generic Editor (also got WWD installed) and I press tab, I still get a tab character inserted, instead of 4 dots.

I checked "Insert spaces for tabs" in Workspace's "Text Editors" setting, it inserted 2 spaces, when I have "indent_size=2" setting in EditorConfig. That's right when the Workspace configuration is 4 spaces.

One thing I found bad, is that if you don't type Enter after characters that are automatically inserted, the error messages don't go away. For example, if we have the code:

const a=()=>{
  return 1;
}

and enter the code:

const b=()=>{
  return 2;
}

above it, the "}" is automatically inserted, when we type "{". The final code looks like this:

const b=()=>{
  return 2;
}

const a=()=>{
  return 1;
}

The Editor displays the message Trim traling whitespace in line return 2;, as long as we don't type Enter after the "}".

But let's wait for the PR made by @angelozerr !

from ec4e.

angelozerr avatar angelozerr commented on June 19, 2024

The Editor displays the message Trim traling whitespace in line return 2;, as long as we don't type Enter after the "}".

But let's wait for the PR made by @angelozerr !

Thanks for reporting this issue. My PR on Platform text will not takecare of validation like ec4e, it will provide at firts just basic .editorconfig to apply properties like tabs.

from ec4e.

Related Issues (20)

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.