Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ifc-syntax-vscode feature request - jump to the entity definition / find references #42

Open
Andrej730 opened this issue Feb 16, 2024 · 1 comment

Comments

@Andrej730
Copy link

I use the syntax highlighter from the extension all the time. The couple things I'm missing and wanted to suggest as a feature requests

  1. Jump to entity definition - e.g. when navigating over some entity like #92 in line #91=IFCREINFORCINGBAR('1XwO12OTPZDKSyFpBHWdCj',#12,'FF1_3',',27804',$,#92,#96,'IDde1ae243-4ec1-4600-a537-498c34d8ee76',$,37.,0.,$,.NOTDEFINED.,$); to jump with ctrl+click or F12 to it's entity definition. It would be nice but won't be a big deal though - for now it still possible to select #92 -> Ctrl-F -> and just add = to get #92= which will lead to the definition.

  2. Display some information about entity definition on hovering mouse over it's hashtag number.

  3. Find references - so it will be possible to display a popup with all references where #92 entity is used (either on Ctrl+Click or Shift+F12). Currently I just search #92) or #92, and go through them one by one.

@AlanRynne
Copy link
Owner

Hi @Andrej730,

I've already been working on this on and off for a while, though I confess I haven't had the time to polish it in a way that makes it "good enough" to use in all IFC files.

I may release a version that includes this, but it will be most likely an opt-in setting and disabled by default for all users.

I've got the go to definition working, but still have some work to get the find all references.

I'll let you know once i've got it released ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants