oradew-vscode icon indicating copy to clipboard operation
oradew-vscode copied to clipboard

HoverProvider from DB objects

Open Danieleeee opened this issue 6 years ago • 11 comments

Hi, is possible to have HoverProvider form DB objects? Like columns, tables, packages,.... Thanks.

Danieleeee avatar Feb 17 '19 11:02 Danieleeee

For this kind of feature you could install the extension plsql-language, but I tested it and it doesn't recognise oradew project structure. I will look into it, as this extension in cojunction to oradew is awesome.

yevon avatar Oct 21 '20 21:10 yevon

Agreed! It has been shipped together with Oradew not long ago as a dependency extension but I then removed it and let the user decide which language extension to use. plsql-language also works beautifully with "Go to object" if an object is saved locally in structure (CTRL+click on object in code) etc,...

mickeypearce avatar Oct 22 '20 14:10 mickeypearce

Mmm I will double check, last test I did it with it didn't work for me.

yevon avatar Oct 22 '20 14:10 yevon

Is plsql-language mantained? I wee that last commit was two years ago? and pending pull requests.

yevon avatar Oct 29 '20 19:10 yevon

I just tried to execute the plsql-language repository without success, already installed dependencies but...:

image

yevon avatar Oct 29 '20 20:10 yevon

Is plsql-language mantained? I wee that last commit was two years ago? and pending pull requests.

It seems so. My impression is that the owner is still present (checks issues, etc). just not very active, but maybe I am wrong.

mickeypearce avatar Oct 30 '20 09:10 mickeypearce

I checked the other his extension (local-history) and he was active in the last month ...

mickeypearce avatar Oct 30 '20 09:10 mickeypearce

Do you have this extension working with oradew? I can't manage to get ir working, do I have to modify some settings? I get code highlighting right away, but no code completion or symbols detected.

yevon avatar Aug 02 '21 19:08 yevon

By symbols you mean Outline panel (Ctrl+Shift+o)? Idk it works for me, occasionally it breaks if I have some unusual code...

"Go To Definition" (Ctrl+click) also works, Peek definition, function specification completion...

Proper code completion with DB connection isn't implemented as I know..

In settings I have:

"files.associations": {
    "*.sql": "plsql"
  }

thats all.

mickeypearce avatar Aug 03 '21 14:08 mickeypearce

I have this configuration as yours and I've never got this extension working :(

yevon avatar Aug 03 '21 17:08 yevon

I just discovered the issue, it was that my packages have the word EDITIONABLE, and the extension is not working with it.

yevon avatar Aug 03 '21 17:08 yevon