Giter Club home page Giter Club logo

vscode-npm-import-package-version's Introduction

Version Downloads 996.icu LICENSE

vscode-npm-import-package-version

An extension to show the npm package's version in your code.

Features

  • Javascript
  • Typescript
  • Vue

Screenshot

js ts vue

License

The Anti 996 License

vscode-npm-import-package-version's People

Contributors

renovate[bot] avatar axetroy avatar renovate-bot avatar imgbotapp avatar lazzzis avatar

Stargazers

Makoto Tateno avatar Dane Wilson avatar  avatar liudonghua avatar 正豪 avatar 余腾靖 avatar Satoru avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

vscode-npm-import-package-version's Issues

extension doesn't work

Version Info:

Version: 1.46.0 (user setup)
Commit: a5d1cc28bb5da32ec67e86cc50f84c67cc690321
Date: 2020-06-10T09:03:20.462Z
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363

Still doesn't work when I disable other extensions:

screenshot_2020-06-13_21-11-45

ue shows the problem

vscode version: 版本 1.36.1 (1.36.1)
npm-import-package-version version: 0.6.1

problem:

image

期望正常显示

该扩展在 Windows 10 系统上不起作用

系统: Windows 10 2019 LTSC
VSCODE: 1.43

安装该扩展后,在 Windows 端是没有效果的(也就是在编写的 TS 文件中的 import 语句处没有版本号提示)。但我切换到 macOS系统,以同样的设置打开 macOS 中的 VSCODE,发现在 macOS 端是没有问题的。

Can hide local modules version ???

picture:
B04A21B5-01ED-4C67-857B-3C15C6E9A31F

as you can see:
the module of myself will show '@未安装',so is there a way to make local module not display the version?

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on Greenkeeper branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please click the 'fix repo' button on account.greenkeeper.io.

performance issue.

The current extended startup speed is a bit slow

Because of write import in the file header.

The module is loaded synchronously from the beginning, and the write module has an initialization action that slows down the loading speed.

solution:

Use webpack to package extensions

Maximum call stack size exceeded

when I started Visual Studio Code I got this in the output console for npm import version server.

server start
compile: file:///c%3A/Users/Admin/Desktop/Github_Stuff/Discord_Bots/StratoBotElite/branches/master/src/bot/commands/Logging/user-join.js
RangeError: Maximum call stack size exceeded
    at Object.normalize (path.js:265:12)
    at Object.join (path.js:429:18)
    at findPackage (c:\Users\Admin\.vscode\extensions\axetroy.vscode-npm-import-package-version-0.7.5\server\out\utils.js:54:30)
    at findPackage (c:\Users\Admin\.vscode\extensions\axetroy.vscode-npm-import-package-version-0.7.5\server\out\utils.js:60:16)
    at findPackage (c:\Users\Admin\.vscode\extensions\axetroy.vscode-npm-import-package-version-0.7.5\server\out\utils.js:60:16)
    at findPackage (c:\Users\Admin\.vscode\extensions\axetroy.vscode-npm-import-package-version-0.7.5\server\out\utils.js:60:16)
    at findPackage (c:\Users\Admin\.vscode\extensions\axetroy.vscode-npm-import-package-version-0.7.5\server\out\utils.js:60:16)
    at findPackage (c:\Users\Admin\.vscode\extensions\axetroy.vscode-npm-import-package-version-0.7.5\server\out\utils.js:60:16)
    at findPackage (c:\Users\Admin\.vscode\extensions\axetroy.vscode-npm-import-package-version-0.7.5\server\out\utils.js:60:16)
    at findPackage (c:\Users\Admin\.vscode\extensions\axetroy.vscode-npm-import-package-version-0.7.5\server\out\utils.js:60:16)

Causes issue with auto attach

My auto attach debugger gets hung after the debbuger encounter error, this only happens when you extension is installed, otherwise it works fine.

I can add video if you can't reproduce of something.

Thx.

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.


  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.