IDE Broken in Featurescript

Lucas_Lovett
Lucas_Lovett Member Posts: 6 ✭

I was programming and suddenly I noticed after a short break my IDE no longer showed all the usual options it should and sometimes it doesn't let me access things I should like enums that have been declared higher up in the code.

image.png

screenshot of it not doing definition for a if (definition.X == Y) statement and only showing lambda definition.

Comments

  • ilya_baran
    ilya_baran Onshape Employees, Developers, HDM Posts: 1,274 image

    Sounds like it lost some context of where you were. That can happen when you have a feature studio that does not parse without errors (like what's in the screenshot) — then it uses information from the last time it parsed the code successfully. If you make the feature studio parse again, it should be fine again.

    Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc