Comments (4)
Can you point me to your dub project (if it's public and online) or give me the contents of the .json and .d files that reproduce your issue please?
from flycheck-dmd-dub.
{
"name": "foo.app",
"description": "A minimal D application.",
"copyright": "Copyright © 2015, lief Swanson",
"authors": ["lief Swanson"],
"dependencies": {
}
}
basically just an empty project made by dub init.
I am fairly new to using dub and d though, should i set the path manually in here? I am just relying on dub defaults in this project.
from flycheck-dmd-dub.
D packages are directories, so that a file in foo/bar/baz.d
would be included with import foo.bar.baz;
, like in Python. You named your package foo.app
, which has a dot in it. I expect problems with that. In any case, with your example the variable flycheck-dmd-include-path
correctly adds your source
directory to the list of imports.
from flycheck-dmd-dub.
that is strange, hmm I am going to look for possible conflicts with other packages, because it definitely is not including them into fiycheck, but it does compile just fine, and if i do as you describe it fixes the flycheck error, but it does not compile, saying that with the way my package is set up it needs to be included without the top level part of the package path. Moreover, i can't even seem to find flycheck-dmd-dub-set-include-path in my list of possible completions when using the minibuffer.
from flycheck-dmd-dub.
Related Issues (4)
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 flycheck-dmd-dub.