IDLua icon indicating copy to clipboard operation
IDLua copied to clipboard

Formatting the file adds a space in the first line

Open rillig opened this issue 4 years ago • 0 comments

Have a file bug.lua in the editor:

#! /usr/bin/lua

What steps will reproduce the issue?

  1. Press Ctrl+Alt+L to format the file

What is the expected result?

Nothing happens since the file already looks fine.

What happens instead?

A space is added between the #! and the /usr/bin/lua. Pressing Ctrl+Alt+L again adds another space, and so on.

rillig avatar Aug 30 '20 14:08 rillig