It's been more than half a year since my last try. Still no luck. The syntax highlighting works, but no autocompletion on M1 Mac. I am using ldc compiler 1.27.1 and VisualD 0.23.2 plugin. Does anyone with M1 have it working?
Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
June 13, 2022 Is VisualD compatible with M1s? | ||||
---|---|---|---|---|
| ||||
June 13, 2022 Re: Is VisualD compatible with M1s? | ||||
---|---|---|---|---|
| ||||
Posted in reply to tastyminerals | On Monday, 13 June 2022 at 11:34:39 UTC, tastyminerals wrote: >It's been more than half a year since my last try. Still no luck. The syntax highlighting works, but no autocompletion on M1 Mac. I am using ldc compiler 1.27.1 and VisualD 0.23.2 plugin. Does anyone with M1 have it working? |
June 13, 2022 Re: Is VisualD compatible with M1s? | ||||
---|---|---|---|---|
| ||||
Posted in reply to tastyminerals | On Monday, 13 June 2022 at 11:37:33 UTC, tastyminerals wrote: >On Monday, 13 June 2022 at 11:34:39 UTC, tastyminerals wrote: >It's been more than half a year since my last try. Still no luck. The syntax highlighting works, but no autocompletion on M1 Mac. I am using ldc compiler 1.27.1 and VisualD 0.23.2 plugin. Does anyone with M1 have it working? I'm not sure what's broken on M1 right now. Are you on nightly serve-d build? There have been some linker errors introduced recently which I need to fix still to get nightly builds to work again (just unittests broken though because of -checkaction=context) You could try to compile serve-d from source yourself and put it in code-d, although autocompletion with DCD might still not work on M1 with the precompiled binaries. Build serve-d:
then try to use it in code-d by setting the user setting Then verify that basic syntax checking works in a simple hello world project (test that you get red squiggly lines for syntax errors)
if that works, try out if auto completion of local symbols work. (define some function or variable named foobar and try to autocomplete it in your main function)
if that works, import std.stdio and try to autocomplete writeln in your main function.
if that works, then DUB packages and build_commands.json should work as well (if using supported feature sets) if anything in that list doesn't work, send your error log or a link to it here. (VSCode Output Tab -> code-d/serve-d log) If it's just DCD that's broken you can try compiling that from source as well:
and setting but do reply to here anyway if you needed to create any of these self-compiled binaries. |
June 13, 2022 Re: Is VisualD compatible with M1s? | ||||
---|---|---|---|---|
| ||||
Posted in reply to WebFreak001 | On Monday, 13 June 2022 at 14:16:54 UTC, WebFreak001 wrote: >On Monday, 13 June 2022 at 11:37:33 UTC, tastyminerals wrote: >On Monday, 13 June 2022 at 11:34:39 UTC, tastyminerals wrote: >It's been more than half a year since my last try. Still no luck. The syntax highlighting works, but no autocompletion on M1 Mac. I am using ldc compiler 1.27.1 and VisualD 0.23.2 plugin. Does anyone with M1 have it working? [...] note: I just saw https://github.com/Pure-D/code-d/issues/395 still depended on dfmt and dscanner rdmd -> $DC -run changes. I have merged those now as with 2.100 and the bundled dub it was possible to replace those in a platform-independent manner, but you might need to clone dfmt and D-Scanner before building serve-d and adding dub local packages:
|
June 13, 2022 Re: Is VisualD compatible with M1s? | ||||
---|---|---|---|---|
| ||||
Posted in reply to WebFreak001 | On Monday, 13 June 2022 at 14:16:54 UTC, WebFreak001 wrote: >and setting but do reply to here anyway if you needed to create any of these self-compiled binaries. Are there any |
June 13, 2022 Re: Is VisualD compatible with M1s? | ||||
---|---|---|---|---|
| ||||
Posted in reply to zjh | On Monday, 13 June 2022 at 14:31:25 UTC, zjh wrote: >Are there any I compiled successfully, but I don't know how to use it in 'VIM'. |
June 13, 2022 Re: Is VisualD compatible with M1s? | ||||
---|---|---|---|---|
| ||||
Posted in reply to zjh | On Monday, 13 June 2022 at 14:33:10 UTC, zjh wrote: >On Monday, 13 June 2022 at 14:31:25 UTC, zjh wrote: >Are there any I compiled successfully, but I don't know how to use it in 'VIM'. refer to https://github.com/Pure-D/serve-d/blob/master/editor-vim.md |