kdcro101 / vscode-cassandra

Design and query Apache Cassandra database with help of generated templates, autocomplete and inline code decorations in Visual Studio Code
GNU General Public License v3.0
22 stars 6 forks source link

Cursor position shifts 1 letter to the left after the intellisense loads up the where keyword #2

Closed kashif-khan closed 5 years ago

kashif-khan commented 5 years ago

Describe the bug Cursor position goes haywire when typing the query after the where condition is chosen from the intellisense. PFA

To Reproduce Steps to reproduce the behavior:

  1. Open a new CQL editor.
  2. Choose the appropriate cluster and keyspace.
  3. Write a selectquery with where a where condition.
  4. When you type the value for the where condition the cursor position shifts 1 letter to the left. See the error in the gif.

Expected behavior The cursor should maintain its visual and actual position in the editor.

Screenshots cassandra-workbench-bug-1

System info (please complete the following information):

kdcro101 commented 5 years ago

@kashif-khan ,

Thank you for your feedback!

I have reproduced bug you submitted. It affects windows platform only. I will keep you posted here.

kdcro101 commented 5 years ago

@kashif-khan,

Please update to version 0.2.1 problem should be fixed. Let me know how it went on your side.

Thank you, again, for your contribution!

kashif-khan commented 5 years ago

The issue has been resolved.