I have read the FAQ (tried ctrl+space, fails badly in all modes of vim) and modified .vimrc multiple times without success. I am using GVim 9.10821 on windows and downloaded YCM today. I am using Python 3.13.1. I used :YcmDebugInfo and it shows no problems. Earlier I used to see RunTime error in red on starting a py file but it is no longer the case. I have tried a minimal setup which fails:
Played enough with g: settings.
Testfile I made:
import os
import jedi
print(
os.name) <checked once>
x = 12
y = x * x
dinosaur = x + y
print(dinosaur)
os.
Only [ID] types are visible and they autocomplete correctly. Also filenames using / autocomplete Semantically, it's only when one is trying to code properly that it bites.
Output of :YcmDebug
-- Resolve completions: Up front
-- Client logfile: C:\Users\
---------
~1\AppData\Local\Temp\ycm_v9sb43vq.log
-- Server Python interpreter: C:\Users\***\AppData\Local\Programs\Python\Python313\python.exe
-- Server Python version: 3.13.1
-- Server has Clang support compiled in: True
-- Clang version: clang version 18.1.1
-- No extra configuration file found
-- Python completer debug information:
-- Python interpreter: C:\Users\***\AppData\Local\Programs\Python\Python313\python.exe
-- Python root: C:\Users\***\OneDrive\Desktop\temp
-- Python path: ['C:\\Users\\***\\AppData\\Local\\Programs\\Python\\Python313\\python313.zip', 'C:\\Users\\***\\AppData\\Local\\Programs\\Python\\Python313\\DLLs', 'C:\\Users\\***\\AppData\\Local\\Programs\\Python\\Python313\\Lib', 'C:\\Users\\***\\AppData\\Local\\Programs\\Python\\Python313', 'C:\\Users\\***\\AppData\\Roaming\\Python\\Python313\\site-packages', 'C:\\Users\\***\\AppData\\Local\\Programs\\Python\\Python313\\Lib\\site-packages', 'C:\\Users\\***\\AppData\\Local\\Programs\\Python\\Python313\\Lib\\site-packages\\win32', 'C:\\Users\\***\\AppData\\Local\\Programs\\Python\\Python313\\Lib\\site-packages\\win32\\lib', 'C:\\Users\\***\\AppData\\Local\\Programs\\Python\\Python313\\Lib\\site-packages\\Pythonwin']
-- Python version: 3.13.1
-- Jedi version: 0.19.1
-- Parso version: 0.8.3
-- Server running at:
http://127.0.0.1:55652-- Server process ID: 1900
-- Server logfiles:
-- C:\Users\----------~1\AppData\Local\Temp\ycmd_55652_stdout_h_jd90ym.log
-- C:\Users\
---------~1\AppData\Local\Temp\ycmd_55652_stderr_3bl71vzd.log
-- Semantic highlighting supported: True
-- Virtual text supported: True
-- Popup windows supported: True
Here if my username is A B (with a space) then *** == A B and ------- == A