www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - code-d 0.23.0

reply WebFreak001 <d.forum webfreak.org> writes:
Hi everyone,

I just released a new version of my Visual Studio Code extension 
"code-d"

The last release was 2 years ago so really it will feel like a 
brand new extension to everyone who has only used the stable 
serve-d release (and not nightly or beta) before.

Along with usual updates and improvements to DCD, DScanner and 
dfmt this release comes with:

- single file editing support
- New walkthrough & compiler installer for new users (installing 
D has never been easier before!)
- Updated auto completion UI (big thanks to RUSshy)
- new smart snippets
- much improved debugging support
- project building improvements
- error/linting improvements
- new auto fix suggestions
- better integration of D-Scanner
- better integrated ddoc viewer
- new highlight provider
- workspace trust support (run serve-d securely in untrusted 
workspaces)

...and much more

get it now for VSCode from

https://marketplace.visualstudio.com/items?itemName=webfreak.code-d
https://open-vsx.org/extension/webfreak/code-d
https://github.com/Pure-D/code-d/releases/tag/v0.23.0

Fun fact: in a week is code-d's 6th Birthday, meaning I nearly 
had this project ongoing for a quarter of my life now, lol

If you are not a VSCode user, this release also did a new stable 
release for serve-d, so other LSP compatible editors (there are 
new guides in the repository) can be used as well.

See https://github.com/Pure-D/serve-d
Nov 20 2021
next sibling parent reply Andre Pany <andre s-e-a-p.de> writes:
On Saturday, 20 November 2021 at 17:57:40 UTC, WebFreak001 wrote:
 Hi everyone,

 I just released a new version of my Visual Studio Code 
 extension "code-d"

 [...]
Thank you so much for your work on this extension. By chance, do you consider to make your extension compatible for vscode.dev ? Kind regards Andre
Nov 20 2021
parent reply WebFreak001 <d.forum webfreak.org> writes:
On Saturday, 20 November 2021 at 18:29:00 UTC, Andre Pany wrote:
 On Saturday, 20 November 2021 at 17:57:40 UTC, WebFreak001 
 wrote:
 Hi everyone,

 I just released a new version of my Visual Studio Code 
 extension "code-d"

 [...]
Thank you so much for your work on this extension. By chance, do you consider to make your extension compatible for vscode.dev ? Kind regards Andre
vscode.dev might take some work to get working properly. Meanwhile you can already use gitpod.io, there is also a template here: https://github.com/Pure-D/code-d-gitpod (though it needs some updating now)
Nov 20 2021
next sibling parent russhy <russhy gmail.com> writes:
Nvm about my previous message, there are no issues, i was using a 
local version of serve-d
Nov 20 2021
prev sibling parent russhy <russhy gmail.com> writes:
Congrats on release! it's finally here!

One little issue i found:

https://i.imgur.com/M0J1fXt.png

For functions all fine

But for variables, the type is only visible when the line is 
selected in the completion box
Nov 20 2021
prev sibling next sibling parent Dennis <dkorpel gmail.com> writes:
On Saturday, 20 November 2021 at 17:57:40 UTC, WebFreak001 wrote:
 I just released a new version of my Visual Studio Code 
 extension "code-d"
Thank you for maintaining such an important piece of D tooling. Don't forget to link your sponsor page: https://github.com/sponsors/WebFreak001
Nov 20 2021
prev sibling next sibling parent reply zjh <fqbqrr 163.com> writes:
On Saturday, 20 November 2021 at 17:57:40 UTC, WebFreak001 wrote:
 Hi everyone,
Can `VIM` be supported? Many programmers program with `VIM`.
Nov 20 2021
next sibling parent zjh <fqbqrr 163.com> writes:
On Sunday, 21 November 2021 at 00:58:50 UTC, zjh wrote:


 Can `VIM` be supported? Many programmers program with `VIM`.
Without `ycm_`. I hate `ycm`,it's too `big`.
Nov 20 2021
prev sibling parent reply WebFreak001 <d.forum webfreak.org> writes:
On Sunday, 21 November 2021 at 00:58:50 UTC, zjh wrote:
 On Saturday, 20 November 2021 at 17:57:40 UTC, WebFreak001 
 wrote:
 Hi everyone,
Can `VIM` be supported? Many programmers program with `VIM`.
serve-d (the underlying LSP server) is supported with ycmd: https://github.com/Pure-D/serve-d/blob/master/editor-vim.md You can also search for other LSP clients for your editor if you don't like ycmd, it should work with any of them.
Nov 21 2021
parent reply Robert Schadek <rburners gmail.com> writes:
for nvim with coc's I do

```js
{
	"languageserver": {
		"d": {
			"command": 
"/home/burner/.dub/packages/serve-d-0.7.0/serve-d/serve-d",
			"filetypes": ["d"],
			"trace.server": "on",
			"rootPatterns": ["dub.json", "dub.sdl"],
			"initializationOptions": {
			},
			"settings": {
			}
		}
	},
	"suggest.autoTrigger": "none",
	"suggest.noselect": false
}
```

Which works very nicely.
Nov 21 2021
parent M.M. <matus email.cz> writes:
On Sunday, 21 November 2021 at 18:00:38 UTC, Robert Schadek wrote:
 for nvim with coc's I do

 ```js
 {
 	"languageserver": {
 		"d": {
 			"command": 
 "/home/burner/.dub/packages/serve-d-0.7.0/serve-d/serve-d",
 			"filetypes": ["d"],
 			"trace.server": "on",
 			"rootPatterns": ["dub.json", "dub.sdl"],
 			"initializationOptions": {
 			},
 			"settings": {
 			}
 		}
 	},
 	"suggest.autoTrigger": "none",
 	"suggest.noselect": false
 }
 ```

 Which works very nicely.
Did anyone try the built-in LSP server in neovim 0.5+ for Dlang?
Nov 21 2021
prev sibling parent Gavin Ray <user example.com> writes:
On Saturday, 20 November 2021 at 17:57:40 UTC, WebFreak001 wrote:
 Hi everyone,

 I just released a new version of my Visual Studio Code 
 extension "code-d"
Thank you so much! Wouldn't write D if it weren't for the IDE integrations, you're doing the lord's work.
Nov 27 2021