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

<nz-* snippet not working #11

Closed
Svetomechc opened this issue Jun 17, 2019 · 14 comments
Closed

<nz-* snippet not working #11

Svetomechc opened this issue Jun 17, 2019 · 14 comments

Comments

@Svetomechc
Copy link

Where is nz-button?

image

image

@cipchk
Copy link
Member

cipchk commented Jun 17, 2019

@Svetomechc You can check error information via open help - Toggle Developer tools.

I think may be no automatic installation of dependency packages when vscode installs ng-zorro-vscode extensions, #8

@Svetomechc
Copy link
Author

I checked there, no errors.

@Svetomechc
Copy link
Author

What is the suggested workaround?

@cipchk
Copy link
Member

cipchk commented Jun 17, 2019

I think you have tried to uninstall and then reinstalled. _

@Svetomechc
Copy link
Author

@cipchk already tried ofc

@cipchk
Copy link
Member

cipchk commented Jun 17, 2019

@Svetomechc I have a way you can try it.

  1. Go to /Users/<Your Name>/.vscode/extensions/cipchk.ng-zorro-vscode-7.3.4/ path
  2. Clean node_modules
  3. Running yarn
  4. restart vscode

@Svetomechc
Copy link
Author

@cipchk there isn't a node_modules folder there:

image

@cipchk
Copy link
Member

cipchk commented Jun 17, 2019

@Svetomechc ingore step 2.

@Svetomechc
Copy link
Author

@cipchk that worked, thanks!

@Svetomechc
Copy link
Author

@cipchk although not for a very long time... and now repeating these steps does nothing at all.

@Donmen
Copy link

Donmen commented Jun 18, 2019

@cipchk 我也碰到这个问题,试了你上面的方法,还是解决不了。调试没有报错,但传入的值是空的。。

@cipchk
Copy link
Member

cipchk commented Aug 21, 2019

@Donmen 抱歉,我想不到有什么办法可以解决了;目前我在 mac 下并无发生过这类情况,而 windows 下好像会有这种很奇怪的情况,总感觉应该是权限问题吧,导致无法自动执行安装依赖。

@ChaoQunPeng
Copy link

我在ng-zorro-vscode-8.3.0下的snippets.json似乎没有发现有nzs-button触发前缀。。。

@cipchk cipchk pinned this issue May 8, 2020
@cipchk cipchk changed the title nz-button snippet not working <nz-* snippet not working May 8, 2020
@cipchk
Copy link
Member

cipchk commented Dec 21, 2020

fixed by 11 version.

@cipchk cipchk closed this as completed Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants