arnoudkooi / sn-scriptsync

Use sn-scriptsync in combination with SN Utils to be able to code in VS Code, including all benefits of a full fledged code editor
https://marketplace.visualstudio.com/items?itemName=arnoudkooicom.sn-scriptsync
Other
43 stars 28 forks source link

Request: Add support for GlideQuery() in scriptsync / background scripts #63

Closed davewburns closed 2 years ago

davewburns commented 2 years ago

When I type GlideQuery into a script, I always get the autocomplete going to GlideQueryCondition, I have manually edited the server.ts file to add: class GlideQuery { constructor(tableName: string) { }; } to allow me to use this. It's not perfect as it leaves out most of the actual functions of GlideQuery, but it does allow me to use it as an autocomplete entry.

arnoudkooi commented 2 years ago

Sorry for the late reply. Would you have a more complete version that covers the functions? I can't find it..

davewburns commented 2 years ago

I know it actually lives in the script includes. I can dig it up.

On Fri, Feb 18, 2022 at 3:35 PM arnoudkooi @.***> wrote:

Sorry for the late reply. Would you have a more complete version that covers the functions? I can't find it..

— Reply to this email directly, view it on GitHub https://github.com/arnoudkooi/sn-scriptsync/issues/63#issuecomment-1045214051, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQDSH4ZYDVAIDFWTI6XZOTU323RDANCNFSM5MVTTYUA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

arnoudkooi commented 2 years ago

I checked and just added the GlideQuery scriptinclude to the autocomplete folder works. Just published version version 2.2.0

arnoudkooi commented 2 years ago

Please try if it works, closing for now (Issue Cleanup night ;) )