webdzq / plugins Goto Github PK
View Code? Open in Web Editor NEW常用扩展方法methods,一些组件components,一些编辑器的插件
常用扩展方法methods,一些组件components,一些编辑器的插件
问题一 (vue-beautify遗留问题)
点击多次格式化的时候有些标签的缩进有问题,每点一次格式化都会缩进一次导致如下效果:
<button>
<span>...</span>
</button>
<button>
<span>...</span>
</button>
<button>
<span>...</span>
</button>
另外<label>
、<span>
和<svg>
也有相同情况,暂时只发现这几个标签内部的缩进会有问题
问题二
<script>
和<style>
中所有空行会被清除,有些特意添加的一行空行也被清除掉了
希望能改进下,如果有多个连续空行就清除多余行剩下一行,如果只有一行空行不要清除掉
e.g.
<script>
import foo from './foo'
/* 此处空行特意添加的,希望保留 */
function bar() {
...
}
/* 此处有2空行,希望只保留一行 */
export default {
...
}
</script>
<template>
<template>
</template>
</template>
这种情况格式化出错
this.setData({
icon: base64.icon20
});
delete this
wepy2.0在页面中新增了config标签和wsx标签等,急需高亮更新!
原文 : "command": "extension.wpyBeautify";
应该是: "command": "wpyBeautify.format"。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.