Code Monkey home page Code Monkey logo

vscode-author-generator's People

Contributors

dependabot[bot] avatar excaliburhan avatar pwxcoo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

vscode-author-generator's Issues

'_document' of undefined

Environment Details:

Version: 1.54.1 (user setup)
Commit: f30a9b73e8ffc278e71575118b6bf568f04587c8
Date: 2021-03-04T22:38:31.419Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Windows_NT x64 10.0.18363

Issue:

Seems like with the latest update of VS Code the extension is not currently working.

image

Steps to reproduce:

  1. Open command pallet
  2. Generate Autor info (use extension)

Actual

Getting error
Cannot read property '_document' of undefined

Expected

The extension should generate the author information

Error of date variable

When i generate the author info, the create date and modify date are totally same.
System: macOS 10.14.5
VSCode: Version 1.39.1

Python Support

Can we also have the author-generator functionality for python also?

custom date format

i want to change the format of the date so is there anyway to do that?

from the code i could see its hard coded, so anyway to provide the custom format the date ?

getDate() {
return moment().format('YYYY-MM-DD HH:mm:ss')
}

where is the correct place to put custom templates?

I have tried to put my h.tpl and cpp.tpl under following directories (with VSCode restart), none of them worked:

  • ./.vscode/extensions/{edwardhjp.vscode-author-generator-version}/templates/*.tpl
  • ./.vscode/extensions/{edwardhjp.vscode-author-generator-version}/*.tpl
  • ./templates/*.tpl

White spaces are ignored in modify date's update

If I re-align the @modify date [date] to something like @modify date [date] in the templates, the output is still @modify date [date].

It works fine for the first creation, e.g.@modify date [date], but the white spaces are ignored afterwards.

Feature Request

Hello :)
I really love this plug in. Is it possible to generate the Author-Info automatically on new files ?
But more important, is it possible to add a feature, that will run the "update" on saving a file?

Thanks

Can you update with a [modifier] tag

The current custom template only replaces the first [author] and [email]. Is it possible to make it replace all [author] and [email]? Or is it possible to add a new setting such as [modifier] and [modifier-email]? Thank you

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.