petrbroz / vscode-forge-tools

Visual Studio Code extension for accessing Autodesk Forge services and content.
https://marketplace.visualstudio.com/items?itemName=petrbroz.vscode-forge-tools
MIT License
74 stars 17 forks source link

add shortcut to BIM360/ACC file/folder, via the BIM360 URL #65

Closed wallabyway closed 1 year ago

wallabyway commented 1 year ago

Add a fast way to quickly jump into a BIM360/ACC folder using the BIM360 docs URL.

ie. If I copy/paste a BIM360 docs URL, of my favorite folder, into VSCode somehow... then VSCode, will list the files/sub-folders in that particular bim360 docs URL folder. It can be used as quick way to share a folder amongst my team for testing some common files.

For example, I copy/paste the URL from BIM360 docs address bar in chrome...

https://docs.b360.autodesk.com/projects/ddcd76e6-0fb6-4d90-a95c-51ee87d1da76/folders/urn:adsk.wipprod:fs.folder:co.9WmtnWHjTuW4rVNxTOt3Mw/detail

and paste it, into an input text field, which is decoded it into a project and folder for the data-management API:

So, in VSCode, maybe a UX like this...

  1. right click on the Hubs & Derivatives, menu appears with 'Jump to BIM 360 Folder'
  2. click 'Jump to BIM 360 Folder'
  3. text input appears ...
  4. paste in 'https://docs.b360.autodesk.com/projects/ddcd76e6-0fb6-4d90-a95c-51ee87d1da76/folders/urn:adsk.wipprod:fs.folder:co.9WmtnWHjTuW4rVNxTOt3Mw/detail'
  5. VSCode, lists the files and sub-folders of that particular project

Screen Shot 2022-10-07 at 3 16 34 PM

Bonus feature: Maybe add the ability to 'cache' these shortcuts, appear like a 'shortcuts hub', but it's just a cache of previous shortcuts ?