erlide_eclipse icon indicating copy to clipboard operation
erlide_eclipse copied to clipboard

ENTER key does not follow indention after comment

Open drapostolos opened this issue 11 years ago • 3 comments

For example when writing "f() ->" and then pressing ENTER key, the cursor goes to the next line with correct indentation automatically. Example:

f() -> ok.

But if I add a comment line in my function the cursor is not correctly indented on the next line (when ENTER key is pressed). Example

f() -> %% some comment ok.

Is there a way to avoid this?

drapostolos avatar Nov 15 '13 11:11 drapostolos

Unfortunately, no, but I think that pressing Ctrl-I should add the correct indentation.

The auto-indent is using a separate (and older) code to decide, we have to update that. Thanks for reporting!

vladdu avatar Nov 15 '13 11:11 vladdu

yes, Ctrl-I works, but would be nice not need doing that. It's the small things that makes a difference :)

drapostolos avatar Nov 15 '13 11:11 drapostolos

We'll fix that!

vladdu avatar Nov 15 '13 11:11 vladdu