ARCAD-Software / elias-vscode

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

version changed components (red vs blue icon) #25

Closed dev-wouter closed 2 months ago

dev-wouter commented 3 months ago

when your are changing code, the color of the source member under the tab 'changed' is not changing automatically. this also does not change when folding open this menu option. you have to manually press refresh

image

can this be triggerd by saving a source code or folding open the option?

sebjulliand commented 3 months ago

Hi, yes, this can probably be triggered when the source code is saved.

sebjulliand commented 3 months ago

Hi again @woutercdinsvest , the freshly released 2.1.1 version includes a change that will reload the Changed node when one of its component gets saved.

dev-wouter commented 3 months ago

thanks, will check it out today

dev-wouter commented 3 months ago

i don't think the changes work, still have to do a manually refresh after a save and now it does not update the color when a compilation is finished(successful).

i have updated to the 2.1.1 version

sebjulliand commented 3 months ago

Did you reload VSCode after the update? Can you do the following so I can check what's could be wrong?

Then copy the whole Elias output content here.

dev-wouter commented 3 months ago

image

added a 'space' somewhere log after 'ctrl s' [6/26/2024 8:50:41 AM] [TRC] Checking ARCAD-Elias REST wovaneer@eden token validity [6/26/2024 8:50:41 AM] [TRC] REST request ARCAD-Elias REST (http) wovaneer@eden: get /checkuser [6/26/2024 8:50:41 AM] [TRC] REST response ARCAD-Elias REST (http) /checkuser wovaneer@eden 200 - OK: {"data":"Hello wovaneer, you're still connected to eden."} [6/26/2024 8:50:41 AM] [TRC] Hello wovaneer, you're still connected to eden. [6/26/2024 8:50:41 AM] [TRC] REST request ARCAD-Elias REST (http) wovaneer@eden: get /applications/GERDA/components/WKSWPVUMR1/SQLRPGLE/updatecheck {"application":"GERDA","version":"FT.22.07","name":"WKSWPVUMR1","type":"SQLRPGLE","checkaction":"UPDATE"} [6/26/2024 8:50:41 AM] [TRC] REST response ARCAD-Elias REST (http) /applications/GERDA/components/WKSWPVUMR1/SQLRPGLE/updatecheck wovaneer@eden 200 - OK: {"data":{"help":"","message":"","valid":true}} image

log after pressing the reload in the left window [6/26/2024 8:51:40 AM] [TRC] Checking ARCAD-Elias REST wovaneer@eden token validity [6/26/2024 8:51:40 AM] [TRC] REST request ARCAD-Elias REST (http) wovaneer@eden: get /checkuser [6/26/2024 8:51:40 AM] [TRC] REST response ARCAD-Elias REST (http) /checkuser wovaneer@eden 200 - OK: {"data":"Hello wovaneer, you're still connected to eden."} [6/26/2024 8:51:40 AM] [TRC] Hello wovaneer, you're still connected to eden. [6/26/2024 8:51:40 AM] [TRC] REST request ARCAD-Elias REST (http) wovaneer@eden: get /applications/GERDA/components {"version":"FT.22.07","deleted":false,"action":"ADD,MOD,CHK,MJD,USE,RES,DSC,CSC"} [6/26/2024 8:51:40 AM] [TRC] REST response ARCAD-Elias REST (http) /applications/GERDA/components wovaneer@eden 200 - OK: {"data":[{"IFS":false,"action":"ADD","applicationCode":"GERDA","author":"WOVANEER","compilable":true,"compiled":true,"compiledTimestamp":"2024-06-25T11:51:36Z[UTC]","creationDate":"2024-06-25T11:51:07Z[UTC]","creationObjectLibrary":"GRDPRDO","creationVersionNumber":"FT.22.07","dataManagementSupport":false,"description":"Warenposition: Verfahrensübergang - MRN","environmentCode":"D","exportToExternalSCM":"1970-01-01T00:00:00Z[UTC]","ile":false,"importFromExternalSCM":"1970-01-01T00:00:00Z[UTC]","inTest":false,"lastExportToExternalSCM":"1970-01-01T00:00:00Z[UTC]","library":"GRDDFT2207","lockedInAnotherVersion":false,"lockedInVersion":false,"modificationDate":"2024-06-25T11:51:07Z[UTC]","modifier":"WOVANEER","name":"WKSWPVUMD1","object":false,"objectLibrary":"GRDPRDO","objectType":"*FILE","referenceLibrary":"GRDPRDS","referenceName":"WKSWPVUMD1","referenceSourceFile":"QDDSSRC","referenceType":"DSPF","sourceFile":"QDDSSRC","sourceGenerationStep":"0","subType1":"DSPF","type":"DSPF","versionNumber":"FT.22.07"},{"IFS":false,"action":"ADD","applicationCode":"GERDA","author":"WOVANEER","compilable":true,"compiled":true,"compiledTimestamp":"2024-06-26T06:50:10Z[UTC]","creationDate":"2024-06-18T05:47:34Z[UTC]","creationObjectLibrary":"GRDPRDO","creationVersionNumber":"FT.22.07","dataManagementSupport":false,"description":"WKS 36.Warenposition: Verfahrensübergang - MRN","environmentCode":"D","exportToExternalSCM":"1970-01-01T00:00:00Z[UTC]","ile":true,"importFromExternalSCM":"1970-01-01T00:00:00Z[UTC]","inTest":false,"lastExportToExternalSCM":"1970-01-01T00:00:00Z[UTC]","library":"GRDDFT2207","lockedInAnotherVersion":false,"lockedInVersion":false,"modificationDate":"2024-06-18T05:47:34Z[UTC]","modifier":"WOVANEER","name":"WKSWPVUMR1","object":false,"objectLibrary":"GRDPRDO","objectType":"*PGM","referenceLibrary":"GRDPRDO","referenceName":"WKSWPVUMR1","referenceType":"ILEPGM","sourceGenerationStep":"0","type":"ILEPGM","versionNumber":"FT.22.07"},{"IFS":false,"action":"ADD","applicationCode":"GERDA","author":"WOVANEER","compilable":true,"compiled":false,"compiledTimestamp":"2024-06-26T06:50:05Z[UTC]","creationDate":"2024-06-26T06:50:41Z[UTC]","creationObjectLibrary":"GRDPRDO","creationVersionNumber":"FT.22.07","dataManagementSupport":false,"description":"wks 36.Warenposition: Verfahrensübergang - MRN","environmentCode":"D","exportToExternalSCM":"1970-01-01T00:00:00Z[UTC]","ile":false,"importFromExternalSCM":"1970-01-01T00:00:00Z[UTC]","inTest":false,"lastExportToExternalSCM":"1970-01-01T00:00:00Z[UTC]","library":"GRDDFT2207","lockedInAnotherVersion":false,"lockedInVersion":false,"modificationDate":"2024-06-26T06:50:41Z[UTC]","modifier":"WOVANEER","name":"WKSWPVUMR1","object":false,"objectLibrary":"GRDPRDO","objectType":"*MODULE","referenceLibrary":"GRDPRDS","referenceName":"WKSWPVUMR1","referenceSourceFile":"QRPGLESRC","referenceType":"SQLRPGLE","sourceFile":"QRPGLESRC","sourceGenerationStep":"0","type":"SQLRPGLE","versionNumber":"FT.22.07"}]} image

sebjulliand commented 3 months ago

@woutercdinsvest I think I found what was wrong. The event system used by Elias was a bit flawed. Find below a snapshot of the extension that should fix the issue. I'll let you install it before I release it so we'll be sure everything is in order. Thanks in advance for your feedback!

arcad-elias-2.1.2-SNAPSHOT.vsix.zip

dev-wouter commented 3 months ago

with the extension it works

sebjulliand commented 3 months ago

Release 2.1.2 is out with this fix!

sebjulliand commented 2 months ago

2.1.3 is out, fixing this.