Editor Configuration for Block Comment

Answered

Hey All,

I was wondering if there is an editor configuration setting somewhere that would allow me to set behavior while within a "block comment".

Assuming in the below snippet, the "|"(pipe) is my cursor, is there a way upon pressing "Enter" I could auto-fill the first three characters of the line with "%%\s"? Currently I just get a blank newline.

This isn't really a huge deal, but I know intellij is very powerful so I figured there's probably a way to do this. Though it might involve mucking about with the plugin.

Thanks in advance.

 

%% ===================================================================
%% @doc
%% |
%% @end
%% ===================================================================
4 comments
Comment actions Permalink
Official comment

This functionality has to be implemented inside a plug-in. You can submit a request at https://github.com/ignatov/intellij-erlang/issues or try to contribute a patch that will add this feature. Thank you.

Comment actions Permalink

Could you please clarify what file type are you editing?

0
Comment actions Permalink

Its a ".erl" file. This is a comment block in/for Erlang.

0
Comment actions Permalink

I was wondering if that would be the case. Thanks for the confirmation!

0

Please sign in to leave a comment.