Git Product home page Git Product logo

Comments (4)

adambullmer avatar adambullmer commented on May 31, 2024 1

Sorry for the silence on this one. One of the components is a parser, to try and determine the contents of a class/function. Looks like the logic to stop parsing on both sides of a class was a little borked.

test = 'ing'

class Foo:
	var1 = None
	var2 = None

class Bar:
	var3 = None
	var4 = None

In the above example, the Variables section of the docstring for class Foo was as follows:

Variables:
  test ([type]) -- [description]
  var1 ([type]) -- [description]
  var2 ([type]) -- [description]
  var3 ([type]) -- [description]
  var4 ([type]) -- [description]

Had to break an edge case of multi-line decorator detection, figuring this was more important to not do. At any rate, this should be resolved in the next release which should be in the next day or so. Thanks for logging this bug!

from sublime_docblockr_python.

BamBalaam avatar BamBalaam commented on May 31, 2024

Any idea of what could be causing the issue @adambullmer ?

from sublime_docblockr_python.

BamBalaam avatar BamBalaam commented on May 31, 2024

Thanks a lot for the review and future resolution! Yes clearly the parser was missing some detection of the boundaries of the classes.

Looking forward to using this package intensively when this is solved! :)

from sublime_docblockr_python.

adambullmer avatar adambullmer commented on May 31, 2024

Fix should appear in version 1.5.3

from sublime_docblockr_python.

Related Issues (20)

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.