Survey banner
The Dataiku Community is moving to a new home! We are temporary in read only mode: LEARN MORE

Multi-line commenting in code recipes

Hi,

Nearly all code IDEs support multi-line commenting/un-commenting via toggling CTRL-/.  This would really help efficiency.  Currently, if I need to do a lot of commenting and uncommenting I copy and paste into my editor of choice.  Not a big deal but annoying.

thx

3 Comments
DamienJ
Dataiker

Hi @info-rchitect,

This behaviour can be mimicked using the multiline edition. In mac for instance you can use cmd+alt to have the multi line cursor. Then write a #.

 

Hope this helps.

_9__Plugin_Editor_-_excel-export___Dataiku.jpg

Damien Jacquemart, Lead Data Scientist @Dataiku

Hi @info-rchitect,

This behaviour can be mimicked using the multiline edition. In mac for instance you can use cmd+alt to have the multi line cursor. Then write a #.

 

Hope this helps.

_9__Plugin_Editor_-_excel-export___Dataiku.jpg

Linking this to Replace the code editor 

Linking this to Replace the code editor 

apichery
Dataiker

You asked for it... we did it!

Thanks to the newly introduced Code Studios feature in Dataiku 11, you can now use Visual Studio Code to edit code in DSS and... comment/uncomment multiple lines at once.

Checkout this video that shows how it looks like:
https://content.dataiku.com/dataiku-11/code-studios

Code Studios is documented here:
https://doc.dataiku.com/dss/latest/code-studios/index.html

And if you want to try it, just follow this tutorial:
https://knowledge.dataiku.com/latest/courses/advanced-code/work-environment/code-studios-debug.html

Status changed to: Released

You asked for it... we did it!

Thanks to the newly introduced Code Studios feature in Dataiku 11, you can now use Visual Studio Code to edit code in DSS and... comment/uncomment multiple lines at once.

Checkout this video that shows how it looks like:
https://content.dataiku.com/dataiku-11/code-studios

Code Studios is documented here:
https://doc.dataiku.com/dss/latest/code-studios/index.html

And if you want to try it, just follow this tutorial:
https://knowledge.dataiku.com/latest/courses/advanced-code/work-environment/code-studios-debug.html