gjy5885's blog

By gjy5885, history, 4 years ago, In English

Upd2: This video(https://www.youtube.com/watch?v=XLcKRaw7QtQ&feature=youtu.be) can help better show my problem. Upd1: Instead of reformatting my code, I want to implement real-time space completion in coding.

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!

Full text and comments »

  • Vote: I like it
  • +4
  • Vote: I do not like it