atom-community / autocomplete-paths

Autocomplete Paths for Atom
MIT License
151 stars 62 forks source link

No path suggestion in Kubuntu 16.04 #163

Open cmeessen opened 7 years ago

cmeessen commented 7 years ago

Prerequisites

Description

Path suggestion doesn't work. I have completely removed atom and all configuration files to make sure it is not related to any preference or other installed package, but it still persists.

Steps to Reproduce

  1. Open any file in Atom
  2. Type a variable with a path, e.g., dir='/somedir/'

Expected behavior: Suggesting content of the path

Actual behavior: Nothing

Reproduces how often: 100%

Versions

Atom : 1.19.6 Electron: 1.6.9 Chrome : 56.0.2924.87 Node : 7.4.0 apm 1.18.4 npm 3.10.10 node 6.9.5 x64 python 2.7.13 git 2.7.4 OS Information: Kubuntu 16.04 64bit KDE Plasma 5.5.5 Qt 5.5.1 Kernel 4.10.0-35-generic All installed packages are up-to-date

Additional Information

I have had a look with the debugging tools and recorded the JavaScript CPU Profile. There are exclamation marks whenever the function _.intersection from ~/.atom/packages/autocomplete-paths/node_modules/underscore/underscore.js is called. I couldn't find out what it means, but maybe it helps.

Cheers, Christian

hujianhang2996 commented 7 years ago

the same problem,both in Mac and Ubuntu

sebaranowski commented 7 years ago

Same here on Xubuntu 16.04 (4.4.0-96-generic), Atom 1.20.1 x64 and autocomplete-paths 2.12.0. Stuck with Rebuilding paths cache... also after uninstall and reinstall of the package :cry: .gitignore includes huge folders like node_modules, the other files are maybe ~100 so rather small project.

sebaranowski commented 7 years ago

btw downgrading to 2.11.0 solves the issue:

apm install autocomplete-paths@2.11.0
pedropmv commented 7 years ago

@sebaranowski Your solution is ok, at least in Lubuntu 17.04

cmeessen commented 7 years ago

@sebaranowski Unfortunately doesn't work for me on Kubuntu 16.04

wzdlc1996 commented 6 years ago

@sebaranowski the solution is ok on elementary loki 4.1 x64 based on ubuntu 16.04. What's more, there are two disk and two operating systems(elementary and windows10) on my computer. No matter what folder on the local disk D:( a partition of sdb ) on windows 10 opened in Atom, it will never suggest the path. But other folders work(on sda or my '/home' of sdb) for 2.12.2. Downgrading to 2.11.0 work for all.