Skip to main content
Archived

Comment out block of code in FME via keyboard shortcut

Related products:FME Form
  • September 29, 2022
  • 6 replies
  • 17 views

Using Python in PythonCaller or Python scripts of parameters does not allow easy commenting of code by calling a shortcut/hotkey on a block of code yet. This is possible in other IDE's such as Visual Studio Code with CTRL + /. Currently there is a workaround by putting # in front of every code row, but this can be quite tedious if you want to comment out a whole block of code with 20 rows.




This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

carmijo
Supporter
Forum|alt.badge.img+11
  • Supporter
  • September 29, 2022

Upvoted because it would be nice, but it's going to take time to implement all features a full IDE has. It's kind of a slippery slope as well. If/once they include commenting out, why not include text autocomplete, etc, etc


rchoucroun
Contributor
Forum|alt.badge.img+10
  • Contributor
  • September 30, 2022

To me, a comment toggle is much more useful than other IDE features such as autocomplete. There are often times when I need to test a particular part of the code and don't want to run the rest of it. Copying to a text editor and pasting back in works but is tedious.


carmijo
Supporter
Forum|alt.badge.img+11
  • Supporter
  • September 30, 2022

yeah, gotcha. that makes sense


kennyo
Supporter
Forum|alt.badge.img+26
  • Supporter
  • October 11, 2022

This would be great, and give even more opportunities. Maybe even Ada Lovelace would be happy :-) #adalovelaceday


  • August 10, 2023

Being able to export/import the code to a full IDE like VSCode from within FME (currently I copy paste) may be a better approach? I noted someone has already added this idea to the wish list.


LizAtSafe
Safer
Forum|alt.badge.img+15
  • Safer
  • February 8, 2024
Updated idea statusGathering InterestArchived
Idea merged into:
All the votes from this idea have been transferred.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings