How to automatically add spaces before and after operators(=,+,-,*,/,etc)

Правка en1, от gjy5885, 2020-07-10 14:17:02

Hi everyone, For example, if I type "x=1", there are no spaces, unless I manually add them. For convenience and productivity reasons, I’m looking for an automatic way to get: "x = 1". This means that when I enter "=" is equivalent to input " = ". The operator may be =,+,-,/,*,etc. Recently, I have seen similar functions on the website: https://wingware.com/hints/auto-editing#:~:text=When%20enabled%20with%20the%20Editor,Wing%20will%20enter%20x%20%3D%201. It's called Auto-Enter Spaces, but only for Python. Since my main language is C++, I hope to find similar functions for C++. If anyone helps me, thank you very much!

Теги code style, auto indent, auto enter space

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский gjy5885 2020-07-11 15:08:48 113
en3 Английский gjy5885 2020-07-10 16:49:25 100
en2 Английский gjy5885 2020-07-10 14:41:01 23
en1 Английский gjy5885 2020-07-10 14:17:02 707 Initial revision (published)