question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doubled first character of proposed sequence

See original GitHub issue

When I try to use autocompletion (either by hitting tab, enter or choosing the option with a mouse-click), the first character of the proposed sequence is being doubled.

My code is, say variable=T, I hit tab and True is the first proposed option, but when I accept it, the resulting line is variable=TTrue.

Here’s how it looks: tabnine

Versions: TabNine 0.1.2 PyCharm 2019.2 (Community Edition)

More PyCharm details

Build #PC-192.5728.105, built on July 23, 2019 Runtime version: 11.0.3+12-b304.10 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Linux 5.0.0-25-generic GC: ParNew, ConcurrentMarkSweep Memory: 1998M Cores: 6 Registry: Non-Bundled Plugins: com.jetbrains.plugins.ini4idea, com.ppolivka.gitlabprojects, com.tabnine.TabNine, mobi.hsz.idea.gitignore, org.intellij.plugins.markdown, BashSupport, ru.adelf.idea.dotenv, zielu.gittoolbox

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
zxqflcommented, Aug 23, 2019

I wasn’t able to reproduce the issue by typing TabNine::config. However I’ve added code to try to detect this situation and automatically restart TabNine in the background: https://github.com/zxqfl/tabnine-intellij/commit/1dae1f37cad59a6a5c4d33d157b57d1d3c151c5b

The update is pending JetBrains approval — please try 0.1.3 once it’s approved by JetBrains and check if it fixes the issue.

0reactions
PiotrDabrowskeycommented, Aug 26, 2019

0.1.3 seemingly fixes the issue, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unit 2 Python Programming - Duplicate - Deepnote
Work with string characters · Slice strings into substrings · Iterate through string characters · Use string methods ...
Read more >
Find the first repeated character in a string - GeeksforGeeks
Simple Solution: The solution is to run two nested loops. Start traversing from left side. For every character, check if it repeats or...
Read more >
How do I repeat the first character of words in a string?
You can just split the string by each space, and multiply the first character the number of times you need, then append, or...
Read more >
First Unique Character in a String - LeetCode
1 <= s.length <= 10 5 ; s consists of only lowercase English letters. Accepted. 1,273,649. Submissions.
Read more >
Introduction to stringr
Each pattern matching function has the same first two arguments, a character vector of string s to process and a single pattern to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found