Git Product home page Git Product logo

ifc-developer-tools's Introduction

IFC Developer Tools

Node.js CI codecov

The Home for the IFC Developer Tools code!

Packages

Package Description URL
ifc-syntax-ast-parser Deprecated Parse IFC files to AST + Visitors
ifc-syntax-parser New Parse IFC files to AST + Visitors
ifc-syntax-express-parser Parse Express files to JSON
ifc-syntax-server IFC Language Server
ifc-syntax-vscode IFC VSCode Extension
ifc-syntax-docgen IFC Documentation extractor to JSON
ifc-syntax-codegen IFC Code Generator

Setup

This monorepo requires lerna being installed globally:

npm i -g lerna

Then run:

npm i
lerna bootstrap

Build

To build all the packages, run:

lerna run build

Testing

To test all the packages, run:

lerna run test

Contributing

Contributions are welcome! :)

ifc-developer-tools's People

Contributors

alanrynne avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

xyzbety

ifc-developer-tools's Issues

Ensure tests run on all platforms

My current test implementation is shit and fails in ubuntu-latest images on Github Actions.

I had to switch to Mac images to get them to work but ๐Ÿ’ธ

File paths for test files should be handled properly.

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

  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.

Installation

Hello,
As I understand one should install previously node js which includes npm as well as git? For executing the learna.ps1 file set "Set-ExecutionPolicy RemoteSigned" in powershell (admin_mode). Going throuch all that I get:
PS C:\Users\XXX\AppData\Roaming\npm> lerna run test
lerna notice cli v5.4.2
lerna success run No packages found with the lifecycle script 'test'
Something seemed to went wrong?

As my goal was IFC highlighting an ifc file was open in visual code which suggestet that there was an extension for IFC Syntax v0.1.4 highlighting. I installed this and got syntax highlighting (hourah). Hope that helps other users for installing IFC highlighting.
Yours Jakob

Create new site to live in "ifcdev.tools"

Current IFC Syntax site is the worst xDD Plus, there's a need for more stuff in it now.

  • Lovely new site, Vue based, ideally VuePress to deal with less BS.
  • Simple docs and instructions for packages
  • Demo pages (as interactive as possible)
    • Express to JSON
    • Express to Code
    • IFC to JSON
  • Should look awesome ๐Ÿš€

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.