Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module suggestion twice time from package.json #50688

Closed
devils-ey3 opened this issue May 29, 2018 · 8 comments
Closed

Module suggestion twice time from package.json #50688

devils-ey3 opened this issue May 29, 2018 · 8 comments
Labels
*caused-by-extension Issue identified to be caused by an extension

Comments

@devils-ey3
Copy link

I don't know why the autocomplete suggestion show a module name twice in my vscode editor.



My user settings.json

{
    "python.pythonPath": "/usr/bin/python3",
    "workbench.colorTheme": "Ayu Mirage",
    "window.zoomLevel": 0,
    "editor.minimap.enabled": false,
    "editor.multiCursorModifier": "ctrlCmd",
    "files.associations": {"*.ejs": "html"},
    "editor.tokenColorCustomizations": {
        "comments": "#1eff00a2"
    },
    "workbench.iconTheme": "vscode-great-icons",
    "javascript.suggestionActions.enabled": false,

    // Enable/disable suggestion diagnostics for TypeScript files in the editor. Requires TypeScript >= 2.8.
    "typescript.suggestionActions.enabled": false,
    "workbench.startupEditor": "newUntitledFile",
    "terminal.integrated.fontSize": 13,
    "editor.tabCompletion": true,
    "editor.snippetSuggestions": "top",

}

my npm packages are

├─┬ bcrypt@2.0.1
│ ├── nan@2.10.0
│ └─┬ node-pre-gyp@0.9.1
│   ├── detect-libc@1.0.3
│   ├─┬ mkdirp@0.5.1
│   │ └── minimist@0.0.8
│   ├─┬ needle@2.2.0
│   │ ├─┬ debug@2.6.9
│   │ │ └── ms@2.0.0
│   │ ├─┬ iconv-lite@0.4.21
│   │ │ └── safer-buffer@2.1.2
│   │ └── sax@1.2.4
│   ├─┬ nopt@4.0.1
│   │ ├── abbrev@1.1.1
│   │ └─┬ osenv@0.1.5
│   │   ├── os-homedir@1.0.2
│   │   └── os-tmpdir@1.0.2
│   ├─┬ npm-packlist@1.1.10
│   │ ├─┬ ignore-walk@3.0.1
│   │ │ └─┬ minimatch@3.0.4
│   │ │   └─┬ brace-expansion@1.1.11
│   │ │     ├── balanced-match@1.0.0
│   │ │     └── concat-map@0.0.1
│   │ └── npm-bundled@1.0.3
│   ├─┬ npmlog@4.1.2
│   │ ├─┬ are-we-there-yet@1.1.4
│   │ │ ├── delegates@1.0.0
│   │ │ └─┬ readable-stream@2.3.5
│   │ │   ├── core-util-is@1.0.2
│   │ │   ├── inherits@2.0.3 deduped
│   │ │   ├── isarray@1.0.0
│   │ │   ├── process-nextick-args@2.0.0
│   │ │   ├── safe-buffer@5.1.1 deduped
│   │ │   ├─┬ string_decoder@1.0.3
│   │ │   │ └── safe-buffer@5.1.1 deduped
│   │ │   └── util-deprecate@1.0.2
│   │ ├── console-control-strings@1.1.0
│   │ ├─┬ gauge@2.7.4
│   │ │ ├── aproba@1.2.0
│   │ │ ├── console-control-strings@1.1.0 deduped
│   │ │ ├── has-unicode@2.0.1
│   │ │ ├── object-assign@4.1.1
│   │ │ ├── signal-exit@3.0.2
│   │ │ ├─┬ string-width@1.0.2
│   │ │ │ ├── code-point-at@1.1.0
│   │ │ │ ├─┬ is-fullwidth-code-point@1.0.0
│   │ │ │ │ └── number-is-nan@1.0.1
│   │ │ │ └── strip-ansi@3.0.1 deduped
│   │ │ ├─┬ strip-ansi@3.0.1
│   │ │ │ └── ansi-regex@2.1.1
│   │ │ └─┬ wide-align@1.1.2
│   │ │   └── string-width@1.0.2 deduped
│   │ └── set-blocking@2.0.0
│   ├─┬ rc@1.2.6
│   │ ├── deep-extend@0.4.2
│   │ ├── ini@1.3.5
│   │ ├── minimist@1.2.0
│   │ └── strip-json-comments@2.0.1
│   ├─┬ rimraf@2.6.2
│   │ └─┬ glob@7.1.2
│   │   ├── fs.realpath@1.0.0
│   │   ├─┬ inflight@1.0.6
│   │   │ ├── once@1.4.0 deduped
│   │   │ └── wrappy@1.0.2
│   │   ├── inherits@2.0.3
│   │   ├── minimatch@3.0.4 deduped
│   │   ├─┬ once@1.4.0
│   │   │ └── wrappy@1.0.2 deduped
│   │   └── path-is-absolute@1.0.1
│   ├── semver@5.5.0
│   └─┬ tar@4.4.1
│     ├── chownr@1.0.1
│     ├─┬ fs-minipass@1.2.5
│     │ └── minipass@2.2.4 deduped
│     ├─┬ minipass@2.2.4
│     │ ├── safe-buffer@5.1.1 deduped
│     │ └── yallist@3.0.2
│     ├─┬ minizlib@1.1.0
│     │ └── minipass@2.2.4 deduped
│     ├── mkdirp@0.5.1 deduped
│     ├── safe-buffer@5.1.1
│     └── yallist@3.0.2
├─┬ body-parser@1.18.3
│ ├── bytes@3.0.0
│ ├── content-type@1.0.4
│ ├─┬ debug@2.6.9
│ │ └── ms@2.0.0 deduped
│ ├── depd@1.1.2
│ ├─┬ http-errors@1.6.3
│ │ ├── depd@1.1.2 deduped
│ │ ├── inherits@2.0.3
│ │ ├── setprototypeof@1.1.0 deduped
│ │ └── statuses@1.4.0 deduped
│ ├─┬ iconv-lite@0.4.23
│ │ └── safer-buffer@2.1.2
│ ├─┬ on-finished@2.3.0
│ │ └── ee-first@1.1.1
│ ├── qs@6.5.2
│ ├─┬ raw-body@2.3.3
│ │ ├── bytes@3.0.0 deduped
│ │ ├── http-errors@1.6.3 deduped
│ │ ├── iconv-lite@0.4.23 deduped
│ │ └── unpipe@1.0.0
│ └─┬ type-is@1.6.16
│   ├── media-typer@0.3.0
│   └─┬ mime-types@2.1.18
│     └── mime-db@1.33.0
├── dotenv@5.0.1
├─┬ express@4.16.3
│ ├─┬ accepts@1.3.5
│ │ ├── mime-types@2.1.18 deduped
│ │ └── negotiator@0.6.1
│ ├── array-flatten@1.1.1
│ ├─┬ body-parser@1.18.2
│ │ ├── bytes@3.0.0 deduped
│ │ ├── content-type@1.0.4 deduped
│ │ ├── debug@2.6.9 deduped
│ │ ├── depd@1.1.2 deduped
│ │ ├── http-errors@1.6.3 deduped
│ │ ├── iconv-lite@0.4.19
│ │ ├── on-finished@2.3.0 deduped
│ │ ├── qs@6.5.1 deduped
│ │ ├─┬ raw-body@2.3.2
│ │ │ ├── bytes@3.0.0 deduped
│ │ │ ├─┬ http-errors@1.6.2
│ │ │ │ ├── depd@1.1.1
│ │ │ │ ├── inherits@2.0.3 deduped
│ │ │ │ ├── setprototypeof@1.0.3
│ │ │ │ └── statuses@1.4.0 deduped
│ │ │ ├── iconv-lite@0.4.19 deduped
│ │ │ └── unpipe@1.0.0 deduped
│ │ └── type-is@1.6.16 deduped
│ ├── content-disposition@0.5.2
│ ├── content-type@1.0.4 deduped
│ ├── cookie@0.3.1
│ ├── cookie-signature@1.0.6
│ ├── debug@2.6.9 deduped
│ ├── depd@1.1.2 deduped
│ ├── encodeurl@1.0.2
│ ├── escape-html@1.0.3
│ ├── etag@1.8.1
│ ├─┬ finalhandler@1.1.1
│ │ ├── debug@2.6.9 deduped
│ │ ├── encodeurl@1.0.2 deduped
│ │ ├── escape-html@1.0.3 deduped
│ │ ├── on-finished@2.3.0 deduped
│ │ ├── parseurl@1.3.2 deduped
│ │ ├── statuses@1.4.0 deduped
│ │ └── unpipe@1.0.0 deduped
│ ├── fresh@0.5.2
│ ├── merge-descriptors@1.0.1
│ ├── methods@1.1.2
│ ├── on-finished@2.3.0 deduped
│ ├── parseurl@1.3.2
│ ├── path-to-regexp@0.1.7
│ ├─┬ proxy-addr@2.0.3
│ │ ├── forwarded@0.1.2
│ │ └── ipaddr.js@1.6.0
│ ├── qs@6.5.1
│ ├── range-parser@1.2.0
│ ├── safe-buffer@5.1.1
│ ├─┬ send@0.16.2
│ │ ├── debug@2.6.9 deduped
│ │ ├── depd@1.1.2 deduped
│ │ ├── destroy@1.0.4
│ │ ├── encodeurl@1.0.2 deduped
│ │ ├── escape-html@1.0.3 deduped
│ │ ├── etag@1.8.1 deduped
│ │ ├── fresh@0.5.2 deduped
│ │ ├── http-errors@1.6.3 deduped
│ │ ├── mime@1.4.1
│ │ ├── ms@2.0.0 deduped
│ │ ├── on-finished@2.3.0 deduped
│ │ ├── range-parser@1.2.0 deduped
│ │ └── statuses@1.4.0 deduped
│ ├─┬ serve-static@1.13.2
│ │ ├── encodeurl@1.0.2 deduped
│ │ ├── escape-html@1.0.3 deduped
│ │ ├── parseurl@1.3.2 deduped
│ │ └── send@0.16.2 deduped
│ ├── setprototypeof@1.1.0
│ ├── statuses@1.4.0
│ ├── type-is@1.6.16 deduped
│ ├── utils-merge@1.0.1
│ └── vary@1.1.2
├─┬ jsonwebtoken@8.2.1
│ ├─┬ jws@3.1.5
│ │ ├─┬ jwa@1.1.6
│ │ │ ├── buffer-equal-constant-time@1.0.1
│ │ │ ├─┬ ecdsa-sig-formatter@1.0.10
│ │ │ │ └── safe-buffer@5.1.1 deduped
│ │ │ └── safe-buffer@5.1.1 deduped
│ │ └── safe-buffer@5.1.1 deduped
│ ├── lodash.includes@4.3.0
│ ├── lodash.isboolean@3.0.3
│ ├── lodash.isinteger@4.0.4
│ ├── lodash.isnumber@3.0.3
│ ├── lodash.isplainobject@4.0.6
│ ├── lodash.isstring@4.0.1
│ ├── lodash.once@4.1.1
│ ├── ms@2.1.1
│ └── xtend@4.0.1
├─┬ mongoose@5.1.2
│ ├─┬ async@2.1.4
│ │ └── lodash@4.17.10
│ ├── bson@1.0.6
│ ├── kareem@2.1.0
│ ├── lodash.get@4.4.2
│ ├─┬ mongodb@3.0.8
│ │ └─┬ mongodb-core@3.0.8
│ │   ├── bson@1.0.6 deduped
│ │   └─┬ require_optional@1.0.1
│ │     ├── resolve-from@2.0.0
│ │     └── semver@5.5.0
│ ├── mongoose-legacy-pluralize@1.0.2
│ ├── mpath@0.4.1
│ ├─┬ mquery@3.0.0
│ │ ├── bluebird@3.5.0
│ │ ├── debug@2.6.9 deduped
│ │ ├── regexp-clone@0.0.1 deduped
│ │ └── sliced@0.0.5
│ ├── ms@2.0.0
│ ├── regexp-clone@0.0.1
│ └── sliced@1.0.1
├─┬ morgan@1.9.0
│ ├─┬ basic-auth@2.0.0
│ │ └── safe-buffer@5.1.1 deduped
│ ├── debug@2.6.9 deduped
│ ├── depd@1.1.2 deduped
│ ├── on-finished@2.3.0 deduped
│ └── on-headers@1.0.1
└─┬ multer@1.3.0
  ├── append-field@0.1.0
  ├─┬ busboy@0.2.14
  │ ├─┬ dicer@0.2.5
  │ │ ├── readable-stream@1.1.14 deduped
  │ │ └── streamsearch@0.1.2
  │ └─┬ readable-stream@1.1.14
  │   ├── core-util-is@1.0.2
  │   ├── inherits@2.0.3 deduped
  │   ├── isarray@0.0.1
  │   └── string_decoder@0.10.31
  ├─┬ concat-stream@1.6.2
  │ ├── buffer-from@1.0.0
  │ ├── inherits@2.0.3 deduped
  │ ├─┬ readable-stream@2.3.6
  │ │ ├── core-util-is@1.0.2 deduped
  │ │ ├── inherits@2.0.3 deduped
  │ │ ├── isarray@1.0.0
  │ │ ├── process-nextick-args@2.0.0
  │ │ ├── safe-buffer@5.1.1 deduped
  │ │ ├─┬ string_decoder@1.1.1
  │ │ │ └── safe-buffer@5.1.1 deduped
  │ │ └── util-deprecate@1.0.2
  │ └── typedarray@0.0.6
  ├─┬ mkdirp@0.5.1
  │ └── minimist@0.0.8
  ├── object-assign@3.0.0
  ├── on-finished@2.3.0 deduped
  ├── type-is@1.6.16 deduped
  └── xtend@4.0.1 deduped

Module exclude package.json are seem ok


Where is the problem??

@vscodebot
Copy link

vscodebot bot commented May 29, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@devils-ey3
Copy link
Author

No, those are not the same issue

@octref
Copy link
Contributor

octref commented May 30, 2018

Does this happen on code --disable-extensions?

@octref octref added the info-needed Issue requires more information from poster label May 30, 2018
@devils-ey3
Copy link
Author

@octref No..


@octref octref added *caused-by-extension Issue identified to be caused by an extension and removed info-needed Issue requires more information from poster labels Jun 1, 2018
@vscodebot
Copy link

vscodebot bot commented Jun 1, 2018

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Jun 1, 2018
@octref
Copy link
Contributor

octref commented Jun 1, 2018

It's an extension problem. It's probably one of the "Path Intellisense" or "Npm auto completion" extension you are using that causes this problem.

@devils-ey3
Copy link
Author

devils-ey3 commented Jun 1, 2018

@octref I removed "Path Intellisense" extension, but doesn't work. I haven't find "npm auto completion" extension. My extensions are

capaj.vscode-standardjs-snippets-0.7.7
christian-kohler.npm-intellisense-1.3.0
dbaeumer.vscode-eslint-1.4.10/
eg2.vscode-npm-script-0.3.4
emmanuelbeziat.vscode-great-icons-2.1.32
EQuimper.react-native-react-redux-1.9
formulahendry.code-runner-0.9.3/
himanoa.python-autopep8-1.0.2/
HookyQR.beautify-1.3.0/
HvyIndustries.crane-0.3.8/
jasonnutter.search-node-modules-1.3.0
magicstack.magicpython-1.0.12
mgmcdermott.vscode-language-babel-0.0.14
ms-python.python-2018.4.0/
ritwickdey.liveserver-4.0.0/
skyran.js-jsx-snippets-0.0.9
teabyii.ayu-0.14.0/
tht13.python-0.2.3/
tushortz.theme-wildlife-0.0.3/
vladmrnv.expresssnippet-0.2.3/
vsmobile.vscode-react-native-0.6.10
waderyan.nodejs-extension-pack-0.1.9
WallabyJs.quokka-vscode-1.0.128/
xabikos.javascriptsnippets-1.6.0/

Can you suggest me which i should remove ?

@octref
Copy link
Contributor

octref commented Jun 1, 2018

christian-kohler.npm-intellisense-1.3.0

@vscodebot vscodebot bot locked and limited conversation to collaborators Jul 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*caused-by-extension Issue identified to be caused by an extension
Projects
None yet
Development

No branches or pull requests

2 participants