Code Monkey home page Code Monkey logo

vue-helper's People

Contributors

dependabot[bot] avatar jiaolong1021 avatar qingshanluoyue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vue-helper's Issues

和Vetur插件同时启用会导致退格键失效

Vscode版本:
Version: 1.43.2 (user setup)
Commit: 0ba0ca52957102ca3527cf479571617f0de6ed50
Date: 2020-03-24T07:38:38.248Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18362

window10下 和Vetur插件同时启用会导致退格键失效
具体复现:
在vue文件 import xxx from '../xxx' 的时候就会出现,其他情况也偶尔不明原因出现

Extension issue

  • Issue Type: Bug
  • Extension Name: vue-helper
  • Extension Version: 2.4.7
  • OS Version: Windows_NT x64 10.0.17134
  • VSCode version: 1.51.1

⚠️ We have written the needed data into your clipboard. Please paste! ⚠️

css跳转

可以加一个css的跳转吗,就是ctrl+鼠标左键跳转到<style>对应部分

作者是不是不维护了

这个插件用的太顺手了
现在用着用着就开始加载时间格外的长
看了控制台 插件的状态基本都是unresponsive

希望优化跳转引用

需求:
优化vscode内置的转到引用(shift+f12)

详情:
shift+f12是vscode内置的跳转引用方法,但是在实际工作中并不好用。
比如在一个vue文件中,想要在script部分查找某方法在template模板中的引用,vscode默认只能找到script部分的引用。
不知是否此建议是否可采纳,若能增加此功能,就可以清楚地知道某方法在整个vue文件中被谁调用,增强效率。

另:最近使用了CSS Navigation插件,感觉甚是好用,甚至跨文件跳转定义和引用,如有神助,堪比webstorm,故萌生此想法。
以上个人拙见,如有不妥,还请包涵。

Extension issue

  • Issue Type: Bug
  • Extension Name: vue-helper
  • Extension Version: 2.4.7
  • OS Version: Windows_NT x64 10.0.17134
  • VS Code version: 1.62.1

⚠️ We have written the needed data into your clipboard. Please paste! ⚠️

Allow for CamelCase

This extension seems to dictate kebab case for component names in the HTML section. Is it possible to allow an option for camel case?

[new feature] hope to support vue class component

First of all, thanks for the great plugin 'vue-helper', it do help me a lot in the work. It works great with the normal vue component that using vue.extends and {}.
However, there are some users that using the vue-class-component as it has some nice feature like decoartor etc.
So I sincerely hope that u can support vue-class-component at the next version.

@Component
export default class Mine extends Vue {
  @Action(Types.FETCH_AND_SET_USER_INFO) dispatchFetchAndSetUserInfo

  @Mutation(Types.LOGOUT) mutationLogout

  @State((state) => state.user) user: IstoreUser

  get secretedPhone() {
    return Utils.Formatter.secertMobile(this.user.info.mobile)
  }
}

Bracket Issues

Type: Bug

the { } cause issues when i type { i get }}. Please fix it .

Extension version: 2.4.7
VS Code version: Code 1.85.1 (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:49:37.021Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info
Item Value
CPUs AMD Ryzen 7 3700X 8-Core Processor (16 x 3593)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 15.91GB (7.84GB free)
Process Argv --crash-reporter-id a8ff51c0-8fbb-4356-af7d-948fe1547bbc
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30899288
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
f6dab269:30613381
showlangstatbar:30737416
0bi6i642:30917235
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30902429
pythonregdiag2cf:30926736
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
accentitlementst:30887150
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
aa_t_chat:30882232
dsvsc019:30917259
cp7184c:30925681

Camelcase

Add the ability to auto-complete CamelCase Vue component

[auto import file] 路徑問題

Version: 1.43.2 (user setup)
Commit: 0ba0ca52957102ca3527cf479571617f0de6ed50
Date: 2020-03-24T07:38:38.248Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363

vue-helper: 2.3.1

當使用auto import file
得到
import myHeader from '@\components\myHeader' => 會導致錯誤

我查看源碼,是由於使用path.sep,在windows會使用反斜線導致,是否加入判斷,當path.sep為反斜線的時候,使用正斜線(/)呢?

在uniapp项目内开启此插件后,会造成代码提示服务器运行极其缓慢

Type: Bug

如题所示,开启此插件以及安装uni-helper的所有插件包之后,则会出现此问题,禁用该插件后代码提示正常了

Extension version: 2.4.7
VS Code version: Code 1.83.1 (f1b07bd25dfad64b0167beb15359ae573aecd2cc, 2023-10-10T23:48:05.904Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs AMD Ryzen 7 3700X 8-Core Processor (16 x 3600)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 63.95GB (35.25GB free)
Process Argv --crash-reporter-id 7e091d39-5b7d-4876-aadf-915fdaf9729a
Screen Reader no
VM 17%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263cf:30856253
vscaat:30438848
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
2e4cg342:30602488
f6dab269:30613381
2i9eh265:30646982
showlangstatbar:30737416
0bi6i642:30841073
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30869155
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30871694
pythonregdiag2:30871582
pyreplss1:30865275
pythoncet00cf:30874137
2e7ec940:30870395
pythontbext0cf:30864173

alias 是否可以设置多个?

"vue-helper.alias": {
"@": "./src",
// "@drComponents": "./src/platform/doctor/components",
},

单独配置 @ 在 template里 是可以跳转的

但是使用@drComponents 无法跳转

是我使用的问题吗

Extension issue

  • Issue Type: Bug
  • Extension Name: vue-helper
  • Extension Version: 2.4.7
  • OS Version: Windows_NT x64 10.0.22000
  • VS Code version: 1.69.0

⚠️ We have written the needed data into your clipboard. Please paste! ⚠️

make me slow

Type: Bug

just normal use,like save or edit

Extension version: 2.4.7
VS Code version: Code 1.85.0 (af28b32d7e553898b2a91af498b1fb666fdebe0c, 2023-12-06T20:48:09.019Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 x 2304)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 15.73GB (4.55GB free)
Process Argv --crash-reporter-id d408369c-273e-4687-ad7d-1a5eafd5ab9a
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263:30899288
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
282f8724:30602487
f6dab269:30613381
showlangstatbar:30737416
0bi6i642:30917235
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30902429
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:30885898
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
aa_t_chat:30882232

Auto-import

Add ability to auto-import Vue component to a <script lang="ts"> , Typescript script tag in a SFC

Settings to Disable Extended Features

Can you add options in settings to disable the snippets of the extended feature sets you have included? Specifically, I would like to hide or disable all Element-UI, Vux, and iView (now called ViewUI, you should rename it) features and snippets, since I don't use any of those libraries, so their inclusion simply clutters up my auto-suggestion menu.

ADD FEATURE

Please, add autocomplete to dynamic import like this
components:{
MyCustom: ()=>import('@/my/path/to/component')
}

Extension issue

  • Issue Type: Bug
  • Extension Name: vue-helper
  • Extension Version: 2.4.7
  • OS Version: Windows_NT x64 10.0.22000
  • VS Code version: 1.69.2

⚠️ We have written the needed data into your clipboard. Please paste! ⚠️

Kebab Case Misrepresented in Settings

Under the 'Vue-helper: Tag Name Way' setting, the option for kebab case is misrepresented as 'kebabCase' instead of what it really should be, 'kebab-case'. Otherwise it looks functionally no different than the 'camelCase' option, even though it is actually different.

Please correct this, or maybe explain if there's a limitation in the formatting allowed in dropdown menus in VSCode settings, that prevents you from displaying it correctly.

希望优化跳转引用

需求:
优化vscode内置的转到引用(shift+f12)

详情:
shift+f12是vscode内置的跳转引用方法,但是在实际工作中并不好用。
比如在一个vue文件中,想要在script部分查找某方法在template模板中的引用,vscode默认只能找到script部分的引用。
不知是否此建议是否可采纳,若能增加此功能,就可以清楚地知道某方法在整个vue文件中被谁调用,增强效率。

另:最近使用了CSS Navigation插件,感觉甚是好用,甚至跨文件跳转定义和引用,如有神助,堪比webstorm,故萌生此想法。
以上个人拙见,如有不妥,还请包涵。

运行超时,望修复或指导修复下,谢谢

  • Issue Type: Bug
  • Extension Name: vue-helper
  • Extension Version: 2.4.7
  • OS Version: Windows_NT x64 6.1.7601
  • VS Code version: 1.59.1

⚠️ We have written the needed data into your clipboard. Please paste! ⚠️

BUG: auto-complete tag has not stop

while type tag with "<" ,">" or "/" in *.vue file area ,
there has one error : couldn't stop insert input value

here is error video only for change vue-helper Enable or Disable:

output.compress-video-online.com.mp4

Extension issue

  • Issue Type: Bug
  • Extension Name: vue-helper
  • Extension Version: 2.4.7
  • OS Version: Windows_NT x64 10.0.22000
  • VS Code version: 1.69.1

⚠️ We have written the needed data into your clipboard. Please paste! ⚠️

Extension issue

  • Issue Type: Bug
  • Extension Name: vue-helper
  • Extension Version: 2.4.6
  • OS Version: Windows_NT x64 10.0.19043
  • VS Code version: 1.62.3

⚠️ We have written the needed data into your clipboard. Please paste! ⚠️

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.