ARCAD-Software / elias-vscode

ARCAD-Elias VSCode extension
Other
2 stars 0 forks source link

object/member search #43

Open dev-wouter opened 4 weeks ago

dev-wouter commented 4 weeks ago

hi Seb, an other enhancement request from me.

at this moment you can search for components, field, procedures, literals, in the repository. but as we are developing with a team, this means that not everything is being pushed to repository at the same time, or when a partial thing is finished.

today i needed to know a service program coupled to an sql table but i only had the long readable name of this table. within VS code i could not find the service program of the table.

i called our internal 'arcad person' Geert and he got me on my way in green screen (don't like to use RDI)

image -> some defaults had to be changed (use alias name/sql name = *YES)

the result i get is the following, where i can see that the table is already in reference image

so my question is, is there a way to change the limitation of the search options within a application in VScode mainly that long sql table name setting. image

thanks already

sebjulliand commented 4 weeks ago

That's an easy fix, but it needs to be done on the backend...shame I just released it 😅 I'll wait a few days to see if anything else come up and I'll make a new release with this.

dev-wouter commented 4 weeks ago

Thank Seb, it is not that urgent, but looking forward to be testing V2.2 on Tuesday (as i'm off for a few days)

sebjulliand commented 4 weeks ago

No worries; but it was a one liner to allow search in aliases. image

sebjulliand commented 4 weeks ago

@dev-wouter I created a pre-release that includes the enhancement: https://github.com/ARCAD-Software/elias-vscode/releases/tag/2.2.1

Since enabling search by alias significantly increases search time, I made it optional. You'll have to use an extra button on the search input box to search by alias. See this new documentation page that describes it: https://arcad-software.github.io/elias-vscode/#/pages/tips?id=search-components-by-aliaslong-names

dev-wouter commented 3 weeks ago

Seb, just tried your 'pre-release' version but it seems that i don't find what i want. (i used the T icon to search) image

if i look at it in greenscreen: image image

i did get this warning when i update to 2.2.1 and try to connect image

logging for arcad elias [10/8/2024 12:40:52 PM] [TRC] REST request ARCAD-Elias REST (http) xx@yy: get /applications/GERDA/components {"name":"WKSDECLARATIONNOTIFICATI*","toversion":"24.40.01","alias":true} [10/8/2024 12:40:52 PM] [TRC] REST response ARCAD-Elias REST (http) /applications/GERDA/components xx@yy200 - OK: {"data":[]} [10/8/2024 12:40:52 PM] [TRC] Checking ARCAD-Elias REST xx@yytoken validity

sebjulliand commented 3 weeks ago

Hi @dev-wouter , I guess that's the main issue:

i did get this warning when i update to 2.2.1 and try to connect image

You have to update both the vsix and war for it to work. Try updating the war now and tell me how it goes!

dev-wouter commented 3 weeks ago

indeed i did not update the .war, a also don't have the rights to do so, so asked about getting them, and maybe setting up a shadow copy for pre-releases where i have access on, to update.

so will test it later.

dev-wouter commented 3 weeks ago

tested, and works fine for me (now the war is updated) image