Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Query the Python dot-separated path, using the user's cursor.

NotificationsYou must be signed in to change notification settings

ColinKennedy/vim-python-dot-path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A simple Python mapping for querying the dot-separated paths from the user's cursor.

classSomeClass(object):defget_thing(self):# ...stuff# <-- cursor located here# ...

Just call this function:

:echoGetCurrentDotPath()

And it will return "SomeClass.get_thing".

About Packaging

This Vim plugin was built specifically to work with Rez packages. If theVim function is run within a Rez package, you'll get the full Pythonimport, up until wherever you've placed the Rez package.py file.

Running Tests

Run this

PYTHONPATH=$PWD/pythonx python -m unittest discover

And all tests should pass.

About

Query the Python dot-separated path, using the user's cursor.

Resources

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp