Comments (4)
I have opened an issue on the vscode github page. I will revisit this when the issue is fixed. For now enabling the files.trimTrailingWhitespace
or using the trailing-spaces extension should take care of the problem.
from autodocstring.
You are correct, I didn't notice it because I have set vscode to automatically remove trailing spaces. Will fix asap.
from autodocstring.
I'm pretty sure this is an easy fix, that I could do myself and then submit an PR. Unfortunately, I couldn't properly set up VSCode to dev plugins... Even the hello world example build fails on my computer... ( node v8.7.0
, npm 5.5.1
and vscode 1.18.1
). How is your environment set up ?
from autodocstring.
Hi, sorry for the deley. I took a look at this and the change will be a little more involved than I thought since the indentation is created by the insertSnippet vscode editor function which isn't intelligent enough to deal with trailing spaces: microsoft/vscode#20112 I will need to build my own indentation method when generating the snippet.
As for the dev environment. I have node v8.9.1
, npm 5.5.1
and vscode 1.19.0
with nothing else special. What is the failure message? It may be better to debug that issue at the official vscode repo.
from autodocstring.
Related Issues (20)
- Parser gets confused with comments HOT 1
- Doesn't generate doctoring around comments using 3 quotes HOT 3
- [feature request] Update existing docstring HOT 1
- Extension host crashes
- module level google style docstring
- autodocstring
- return field should be named "returns"
- [feature request] add support for positional-only and keyword-only arguments
- Autocomplete python file metadata
- Extended summary missing HOT 1
- Update Node.js Version to 18 or Later used in Github actions
- [bug] Broken links in README.md
- [feature request] - Add setting to fold doc strings
- [feature request] - Create or update the docstring for the next declaration that preceeds the cursor
- python 3.12 generics support
- Regular code completion blocked by extension. HOT 1
- Empty doctrings being generated HOT 2
- Does not work. HOT 2
- Yield and Return parsing seems too eager
- Seemingly unable to comply with Pydocstyle (D413) `blank-line-after-last-section`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autodocstring.