Code Monkey home page Code Monkey logo

atom-ide-d's People

Contributors

aminya avatar semantic-release-bot avatar vild avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

kniteli rjmcguire

atom-ide-d's Issues

Improve readme

We should include:

  • Coolest features
  • Dependencies (dub, dlinter, dcd)
  • How to build the debug version

Run tests

  • Show test results in tab
  • Click errors to go to file & line

Error when a D project is opened as the root

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)

Build & Run

  • dub - mandatory!
  • Show build output and status
  • Multiple build targets

Diet syntax highlighting

Diet is the same as jade with a few compatible extensions but it can embed D code, which is wrongly highlighted

Snippets

  • if else
  • switch
  • Exception template class
  • void main
  • vibed main
  • template
  • mixin template
  • interface
  • class
  • property get + set
  • ref property
  • constructor
  • destructor

Workspace

  • dub.json
  • .dproject file [canceled, dub will be mandatory]
  • Import from visual studio
  • Support for automated .atom-build.json generation
  • Import from monodevelop (> Wild)

Wrong syntax highlight

image

void test()
{
      auto payload = MY_MAGIC_FUNCTION
      (
         "first", value,
         "another", DateTime(nextMonday, TimeOfDay(12,00)).toRailsString,
         "grayed_out", test_coupon_code,
         "this_too", "3"
      );

      int a = 10;
   }
}

DCD installation and spawning issues

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"
  • DCD uses a lot of CPU for some reason.

d-linter.ini ignored?

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?

Outdated `dub build` commands when saving the file

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!

Register atom-ide-d

Is this package published? Because I can't find it in the Atom's site nor install it with
apm install atomize-d

Project explorer

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?

Linter

  • Add dscanner - Link
  • Local config for the linter

Support serve-d's non-standard LSP extensions

Currently the non-standard extensions which the editor may optionally implement (documented in README starting with coded/) include:

  • HTTP downloader for serve-d to download DCD with UI (just aesthetics)
  • dedicated installation output log UI
  • DUB dependency & package info tree
  • project DUB build, config, arch & compiler settings in toolbar
  • DUB build system integration (build tasks)
  • unittesting integration (run/debug single, module, project + list with goto; upcoming)

Failed to load the atomize-d package

[Enter steps to reproduce below:]

  1. install plugin
  2. run atom

Atom Version: 1.2.4
System: Mac OS X 10.11.1
Thrown From: atomize-d package, v0.1.0

Stack Trace

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)

Commands

Config

{
  "core": {
    "themes": [
      "atom-light-ui",
      "atom-light-syntax"
    ]
  }
}

Installed Packages

# 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

Autocompletion

  • Autocompletion via DCD - Link
  • Add calltips
  • Add documentation, if available

Failed to load the atomize-d package

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.15
System: Mac OS X 10.10.4
Thrown From: atomize-d package, v0.1.0

Stack Trace

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)

Commands

Config

{
  "core": {
    "themes": [
      "atom-light-ui",
      "atom-light-syntax"
    ],
    "disabledPackages": [
      "language-d"
    ]
  }
}

Installed Packages

# 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

VS Codium

Would there be any chance to have this working on VS Codium, supposedly the same code base without the Microsoft branding and telemetry?

Setting "self" as a reference to "this"

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.

dub linter only shows 1 error line

This does for example not work with:

Error: template std.conv.toImpl cannot deduce function from argument types !(ushort)(), candidates are:
...

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.