cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

An option to switch off automatic closing of the quotes and parentheses

An option to switch off automatic closing of the quotes and parentheses

Flexsim code editor automatically inserts closing quotes and parentheses, and I find myself fighting against this feature more than getting the benefits. This video presents the most important issues I noticed:

  1. When editing an open string literal ("some string|), typing " adds two quotes, and the second one is one too many in this case. Eventually, the symbol has be deleted manually.
  2. When the cursor is placed just before the closing and balanced parenthesis, typing ) adds another one. This is not how most of the other code editors work (see Visual Studio), which simply move the cursor past the parenthesis. The extra symbol has to be deleted manually.
  3. Sometimes typing the closing ) does work as expected, but I've never figured when it does, and when it doesn't.
  4. If there is some expression to be passed as a parameter to a function, typing functionname( before the expression inserts also the closing ) before the expression, which is almost never the desired behavior.

I'd like to have an option to disable this feature completely until these use cases are polished.

4 Comments
matt_long
Not applicable

We have added a Global Preference option to enable/disable automatic closing of quotes/parentheses. This will be available in the next bug fix release of FlexSim 2017.

philboboADSK
Autodesk

We have also added this case to the dev list to fix these particular issues with automatic quote/parentheses matching in a future release.

Thanks for pointing out these particular use cases.

sastanin
Collaborator

That was quicker than I expected. Thank you!

matt_long
Not applicable

The developers look at the up votes of ideas and take those into consideration when determining what features/changes should be made to the software. Additionally, we have shared in the frustrations of the auto-insert not always working all of the time...

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea