GithubHelp home page GithubHelp logo

plugins's People

Contributors

webdzq avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

plugins's Issues

VSCode .vue文件使用Beautify wpy时好像有问题

如果.vue文件的template节中没有使用template,一般来说对齐都是正常的,但如果使用了template,对齐就会出现错乱。我所使用的版本为wpy-beautify 2.0.10,现象图示如下所示,无关元素已隐去:
qq 20171102134526

标签缩进有问题和空行问题

问题一 (vue-beautify遗留问题)

点击多次格式化的时候有些标签的缩进有问题,每点一次格式化都会缩进一次导致如下效果:

  • 第一次format
<button>
    <span>...</span>
  </button>
  • 第二次format
<button>
      <span>...</span>
    </button>
  • 第三次format
<button>
        <span>...</span>
      </button>

另外<label><span><svg>也有相同情况,暂时只发现这几个标签内部的缩进会有问题

问题二

<script><style>中所有空行会被清除,有些特意添加的一行空行也被清除掉了
希望能改进下,如果有多个连续空行就清除多余行剩下一行,如果只有一行空行不要清除掉

e.g.

<script>
  import foo from './foo'
          /* 此处空行特意添加的,希望保留 */
  function bar() {
    ...
  }

          /* 此处有2空行,希望只保留一行 */
  export default {
    ...
  }
</script>

关于快捷键的设置问题?

请问快捷键到底怎么设置呢?
我安装插件后是这样的:
111

打开用户设置我是这样设置的,可是没有效果:
112

请问到底该怎么设置?

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.