ifc-developer-tools
ifc-developer-tools copied to clipboard
ifc-syntax-vscode feature request - jump to the entity definition / find references
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
-
Jump to entity definition - e.g. when navigating over some entity like
#92in 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. -
Display some information about entity definition on hovering mouse over it's hashtag number.
-
Find references - so it will be possible to display a popup with all references where
#92entity is used (either on Ctrl+Click or Shift+F12). Currently I just search#92)or#92,and go through them one by one.
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 ;)