Git Product home page Git Product logo

Comments (7)

aBothe avatar aBothe commented on August 11, 2024

All these things are aliases and defined in Object.di - but I want to highlight either all types or no types - but anyway, semantic highlighting is planned already.

from mono-d.

alexrp avatar alexrp commented on August 11, 2024

Do you have an ETA on semantic highlighting? If it's quite a long way ahead, you may want to do what I suggested just as a temporary workaround.

from mono-d.

aBothe avatar aBothe commented on August 11, 2024

@alexrp ETA? I currently found a way to design resolution things more efficient and faster - hopefully it'll be fast enough to enable speedy semantic highlighting :D

from mono-d.

alexrp avatar alexrp commented on August 11, 2024

BTW, I still think size_t, sizediff_t, ptrdiff_t, equals_t, and hash_t as well as string, wstring, and dstring should get special treatment and get highlighted as core types. These are practically considered core types, and some of them get special treatment by the compiler.

from mono-d.

aBothe avatar aBothe commented on August 11, 2024

I see. When type highlighting will be enabled, no type aliases will be resolved - only directly mentioned type references (so no alias MyType mT;
mT myObject; // mT won't be highlighted
but
MyType myObject; // MyType will be highlighted only

Since e.g. size_t is such an alias, it won't be highlighted then - so making them hard-coded core types should be the best solution then, indeed :)

from mono-d.

apriori avatar apriori commented on August 11, 2024

It would be terribly nice, if you after you got some semantic highlighting done, the IDE could yell at you for using e.g. int instead of size_t./sizediff_t and alike.

from mono-d.

aBothe avatar aBothe commented on August 11, 2024

@apriori I first need to figure out how to do semantic highlighting .. it's been very easy in D-IDE, but since MonoDevelop uses a different editor basis I have to write some kind of converter or something similar first

from mono-d.

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.