pure-d / atom-ide-d Goto Github PK
View Code? Open in Web Editor NEWAdds D language support for Atom
Home Page: https://atom.io/packages/ide-d
License: MIT License
Adds D language support for Atom
Home Page: https://atom.io/packages/ide-d
License: MIT License
We should include:
Is working on this?
dub --build=coverage
If you open this repo, fixtures is a sub-folder and it works, but if you open a D project as the root of the project it errors for strange reasons.
stderr 2021-02-24T14:42:44.733 [trace] source\served\extension.d:773:doStartup Started files provider for root RootSuggestion("C:\\Users\\aminy\\Documents\\GitHub\\JavaScript\\atom-ide-d\\spec\\fixtures\\", true)
source\served\extension.d:697:doStartup Initializing instance for root RootSuggestion("C:\\Users\\aminy\\Documents\\GitHub\\JavaScript\\atom-ide-d\\spec\\fixtures", true)
object.Exception@..\..\..\..\AppData\Local\dub\packages\workspace-d-3.6.0-pre.8\workspace-d\source\workspaced\backend.d(564): Instance with cwd 'C:\\Users\\aminy\\Documents\\GitHub\\JavaScript\\atom-ide-d\\spec\\fixtures' already exists!
"[progress] [00001.209] [workspaceStartup] 1 / 2: file:///C%3A/Users/aminy/Documents/GitHub/JavaScript/atom-ide-d/spec/fixtures"
stderr 0x00007FF7DD2F2495 in workspaced.backend.WorkspaceD.addInstance at C:\Users\aminy\AppData\Local\dub\packages\workspace-d-3.6.0-pre.8\workspace-d\source\workspaced\backend.d(565)
stderr 0x00007FF7DD0C35E4 in served.extension.doStartup at C:\Users\aminy\Documents\GitHub\D\serve-d\source\served\extension.d(711)
stderr 0x00007FF7DD0C1127 in served.extension.changedConfig at C:\Users\aminy\Documents\GitHub\D\serve-d\source\served\extension.d(124)
http://code.dlang.org/package-format?lang=sdl
Dub supports both dub.json and dub.sdl (SDLang)
We doesn't support the latter.
Diet is the same as jade with a few compatible extensions but it can embed D code, which is wrongly highlighted
Rewriting the plugin to use workspace-d would mean that it will receive features faster and would be functionally equal to code-d for VSCode.
Only works for first entry in treeview
Also getting a code -13.
I'm on Kubuntu.
The serve-d settings (LSP per project or global configuration) should be available to edit in the Atom settings & possibly also per-project if Atom supports it.
It doesn't autocomplete enum
, class
, struct
, etc.
There are a couple of issues with DCD:
If the files are missing serve-d asks to install dcd itself, but there is no notification to the user to notify them if the installation is done. -> The solution to this is to bundle DCD binary like how we do for seve-d.
-> Fixed in #43
The connections are disposed, refused, or other similar errors. I had this issue in this comment, and I thought the issue is fixed by copying dll files, but after releasing a new version, I am getting similar errors again. Not sure what has changed with DCD!
-> Apparently Bypassed in #43 ??
When dcd does not work properly as described above, if Atom is closed, dcd-server continues to run in the background.
-> Apparently Bypassed in #43 ??
Sometimes DCD seems to be spawned, but the datatips, autocomplete, etc don't return anything like in this comment
The sent URI is like this:
"file:///C:/Users/aminy/Documents/GitHub/JavaScript/atom-ide-d/spec/fixtures/source/app.d"
I try to configure atom + atomize-d with dcd, dscanner, atom-build and linter.
On d-linter.ini (generated option found on ctrl+shift+p menu and placed on project's root) I commented this line:
;undocumented_declaration_check="true"
But it still keeps reporting me that some functions are not documented. What's wrong?
It seems that serve-d
runs dub build on save, but it uses some outdated sdl file.
This happens with serve-d.beta-5. I haven't tested beta.6 due to #48
I used pnpm install --prod
in my sdl file before, but later I removed it. But it seems wherever I save my project, it stills runs that command. This happens across different sessions!
Is this package published? Because I can't find it in the Atom's site nor install it with
apm install atomize-d
A project explorer which is simular to the tree view but can display more information than just the files.
With this we can display all the dependencies with their files.
This is a simular approach to how other IDEs solve this problem with showing virtual folders.
Should this be a separate package?
Integrate get-serve-d
script into the the main code of the package instead of being an offline script
https://atom.io/packages/hyperclick
Go to definition, look up documentation
Currently the non-standard extensions which the editor may optionally implement (documented in README starting with coded/
) include:
Uncaught Error: spawn dcd-client ENOENT (events.js:141)
[Enter steps to reproduce below:]
Atom Version: 1.2.4
System: Mac OS X 10.11.1
Thrown From: atomize-d package, v0.1.0
Failed to load the atomize-d package
At Cannot find module 'semver'
Error: Cannot find module 'semver'
at Module._resolveFilename (module.js:336:15)
at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
at Function.Module._load (module.js:286:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/Users/gedaiu/.atom/packages/atomize-d/lib/dub-config.coffee:3:10)
at Object.<anonymous> (/Users/gedaiu/.atom/packages/atomize-d/lib/dub-config.coffee:1:1)
at Module._compile (module.js:434:26)
at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:190:21)
at Module.load (module.js:355:32)
{
"core": {
"themes": [
"atom-light-ui",
"atom-light-syntax"
]
}
}
# User
.bin, vundefined
atom-dlang, v1.1.2
atomize-d, v0.1.0
ember-cli-helper, v0.9.0
jshint, v1.8.3
linter, v1.11.2
linter-dscanner, v0.2.3
linter-js-yaml, v1.2.4
linter-jshint, v1.2.1
linter-scss-lint, v2.4.0
pigments, v0.19.0
tested, v0.5.0
tool-bar, v0.1.9
trailing-spaces, v0.3.2
# Dev
linter-dscanner, v0.2.3
atom-linter really messes up if giving errors to other files
[Enter steps to reproduce below:]
Atom Version: 1.0.15
System: Mac OS X 10.10.4
Thrown From: atomize-d package, v0.1.0
Failed to load the atomize-d package
At Cannot find module 'semver'
Error: Cannot find module 'semver'
at Module._resolveFilename (module.js:334:15)
at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
at Function.Module._load (module.js:284:25)
at Module.require (module.js:363:17)
at require (module.js:382:17)
at Object.<anonymous> (/Users/andrei/.atom/packages/atomize-d/lib/dub-config.coffee:3:10)
at Object.<anonymous> (/Users/andrei/.atom/packages/atomize-d/lib/dub-config.coffee:1:1)
at Module._compile (module.js:428:26)
at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:169:21)
at Module.load (module.js:353:32)
{
"core": {
"themes": [
"atom-light-ui",
"atom-light-syntax"
],
"disabledPackages": [
"language-d"
]
}
}
# User
atomize-d, v0.1.0
autocomplete-plus-python-jedi, v0.3.6
autocomplete-python, v0.5.3
go-plus, v3.5.1
language-rust, v0.4.4
linter, v1.5.1
linter-rust, v0.2.9
minimap, v4.13.3
racer, v0.17.1
travis-ci-status, v0.18.0
# Dev
No dev packages
Would there be any chance to have this working on VS Codium, supposedly the same code base without the Microsoft branding and telemetry?
As I'm reading through the source, most methods of both major classes are setting self = this
at some point. Is there any reason for this? It seems to me like it would work fine if you just pass this instead of self wherever self is used.
This does for example not work with:
Error: template std.conv.toImpl cannot deduce function from argument types !(ushort)(), candidates are:
...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.