Git Product home page Git Product logo

Comments (8)

aBothe avatar aBothe commented on August 11, 2024

I just changed the parsing behaviour that it's parsing the entire project base directory now, independent whether a file has been added to the project or not.

from mono-d.

alexrp avatar alexrp commented on August 11, 2024

Will this eventually lead to being able to just include all files in a directory recursively, rather than adding them by hand?

from mono-d.

aBothe avatar aBothe commented on August 11, 2024

It is possible to add new files automatically - only see the "Main Settings" page - there's a "Search for new files on load" option which can be enabled.

from mono-d.

alexrp avatar alexrp commented on August 11, 2024

Hmm, that still requires maintenance in the form of actually opening the project, though, which is what I'd like to avoid. A lot of people prefer writing in editors like Vim, so it'd be nice if they didn't have to do anything for their files to be included inside Mono-D.

from mono-d.

aBothe avatar aBothe commented on August 11, 2024

How do you imagine the project system should work then?

from mono-d.

alexrp avatar alexrp commented on August 11, 2024

I'm thinking you would specify inclusion and exclusion patterns in the project options, which would be saved to the project file. Then, when loading the file, Mono-D would find all files that pass the inclusion patterns (and don't pass the exclusion ones) and add them to the project (in memory only, though; on disk, the project file should only contain the patterns).

For example, if my project file is located in /foo/bar, and I have a bunch of directories in there, I could just add *.d as an inclusion pattern, and Mono-D would pick up all files matching that in /foo/bar and its sub-directories.

from mono-d.

aBothe avatar aBothe commented on August 11, 2024

This had to be done in a more deeper level. Though without creating an extra IDE which uses that method to include files, I think sticking to the current way does it very well already .D

from mono-d.

aBothe avatar aBothe commented on August 11, 2024

I guess this request will finally be fulfilled - by creating an extra panel for files to in/exclude when compiling the project aka file white/blacklist. Can't wait to have this implemented :)

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.