Giter Club home page Giter Club logo

asciidecorator's People

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

Watchers

 avatar  avatar

Forkers

mistasse cig0

asciidecorator's Issues

[VS Code 1.28.1] "ASCII Decorator: Font Selector" does not work consistently

The option for "ASCII Decorator: Font Selector" no longer seems to be working consistently. I've only gotten it to work once, and I don't even remember what I did to get it to work, as I've been unable to reproduce it. The preview still shows up in the Output window, and as a workaround I can copy and paste the text from there to where I need it.

"ASCII Decorator: Default Font" still works fine.

Property 'label' does not exist on type 'string'.

The error:

Property 'label' does not exist on type 'string | T'.
  Property 'label' does not exist on type 'string'.

In file: extension.ts
On the ff. block:

    let options = <vscode.QuickPickOptions>{
        placeHolder: 'Select a font',
        matchOnDescription: true,
        onDidSelectItem: item => {
            if(!txt)
            {
                return;
            }

            fontTestWindow.clear();
            fontTestWindow.append(
                figlet.textSync(txt, {
                font: item.label,
                horizontalLayout: 'default',
                verticalLayout: 'default'
            }));
            fontTestWindow.show(true);
        }
    };

Indents on secondary lines are lost

If the text selected to change is indented (say in a comment indented to align with a function in a class), the first line of the generated ASCII font is indented as expected, but every following line has no indent and must be indented manually.

describe('Tests', function() {
  /*
  Test
  */
  describe('Express', function() {
  });
});

becomes

describe('Tests', function() {
  /*
  888888 888888 .dP"Y8 888888 
  88   88__   `Ybo."   88   
  88   88""   o.`Y8b   88   
  88   888888 8bodP'   88   
  */
  describe('Express', function() {
  });
});

instead of

describe('Tests', function() {
  /*
  888888 888888 .dP"Y8 888888 
    88   88__   `Ybo."   88   
    88   88""   o.`Y8b   88   
    88   888888 8bodP'   88   
  */
  describe('Express', function() {
  });
});

ASCII - no shadow

Could you please add a version of the default font without shadow? Personally, I like the 'cleaner' look :) Great job on the extension, btw!!
screen shot 2017-07-09 at 3 40 21 pm

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.