Coder Social home page Coder Social logo

vscode-mdtools's Introduction

Functionality

This is an example of how to extend VS Code with some useful text manipulation tools. This extension works for all file types.

These include:

  • Common casing operations e.g. toUpper, ToLower, SwapCase, Reverse and more
  • HTML encoding and Decoding
  • ASCII Art

Install

Open up VS Code and hit F1 and type ext select Install Extension and type mdtools hit enter and reload window to enable.

install and work

Update a selection

The extension is activated for all file types, and you open up a menu of commands by pressing Alt+T. Multi selection is supported for all commands. If you select ASCII Art you will get a secondary menu where you can choose the font.

Known Issues

Here are a few common issues.

  • The selection zone post edit can be mis-mapped.

vscode-mdtools's People

Contributors

alefragnani avatar codefoster avatar f111fei avatar msftgits avatar tyriar 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

Watchers

 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

vscode-mdtools's Issues

Update README to reflect usage?

It would be good to make the bit about having to use Alt-T to use the extension more prominent in the README... I read it 4 times when I couldn't get it to work, and managed to miss it. I like to think I may not be the only one... ;)

Very handy extension, by the way! Thank you for building it!

Multi selection does not work

toUpperCase and all those functions are usefull for more than markdown files ...

I think you should enable this plugin for all files ...

Error (in console) when there is no active file

If you run the command with no active file (opened file), nothing happens. But the Developer Tools - Console logs an error:

shell.ts:441 Cannot read property 'document' of undefined: TypeError: Cannot read property 'document' of undefined
    at C:\Users\alefr\.vscode\extensions\seanmcbreen.MDTools-1.0.0\out\extension.js:80:18
    at Object.m [as _notify] (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:6:5002)
    at Object.enter (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:6:8580)
    at _run (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:6:10408)
    at _completed (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:6:9849)
    at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:6:16511
    at done (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:6:11709)
    at Object.m [as _notify] (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:6:5144)
    at Object.enter (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:6:8580)
    at _run (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:6:10408)

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.