jfcherng's repos on GitHub
PHP · 351 人关注
php-diff
A comprehensive library for generating differences between two strings in multiple formats (unified, side by side HTML etc).
Shell · 16 人关注
my-scripts
Just for my personal scripts.
JavaScript · 10 人关注
copilot-node-server
Copilot Node.js server.
PHP · 8 人关注
php-color-output
Make your PHP command-line application colorful.
CSS · 3 人关注
Noto-Sans-JP-CSS
Optimized CSS for the "Noto Sans JP" WOFF2 font.
Python · 3 人关注
Noto-Serif-SC-CSS
Optimized CSS for the "Noto Serif SC" WOFF2 font.
PHP · 3 人关注
php-aacodec
Encode/decode JavaScript to/from Japanese style emoticons.
PHP · 3 人关注
php-ip-location
Get the location information from an IP.
PHP · 2 人关注
php-array-dumper
Dump an array into XML, JSON, YAML, etc...
PHP · 2 人关注
php-levenshtein-distance
Calculates the Levenshtein distance and the edit progresses between two strings.
CSS · 1 人关注
metronic-4-color
CSS to use colors defined in Metronic 4.
Python · 1 人关注
Noto-Sans-TC-CSS
Optimized CSS for the "Noto Sans TC" WOFF2 font.
Python · 0 人关注
blackduck-hub-rest-api-python
BlackDuck Hub RESTful API Python bindings
C · 0 人关注
coding-practices
Perl · 0 人关注
diff-so-fancy
Good-lookin' diffs. Actually… nah… The best-lookin' diffs. :tada:
JavaScript · 0 人关注
foobox-cn
Python · 0 人关注
fugle-trade-python
JavaScript · 0 人关注
jquery-scrollfix
jQuery plugin for making an element fixed when it goes out of view
C++ · 0 人关注
libcharsetdetect
A dependency-free C interface to the Mozilla Universal Character Set Detector
PHP · 0 人关注
Medoo
The lightest PHP database framework to accelerate development
TypeScript · 0 人关注
mkdocs-material
A Material Design theme for MkDocs
CSS · 0 人关注
Noto-Sans-KR-CSS
Optimized CSS for the "Noto Sans KR" WOFF2 font.
Python · 0 人关注
Noto-Sans-SC-CSS
Optimized CSS for the "Noto Sans SC" WOFF2 font.
CSS · 0 人关注
Noto-Serif-JP-CSS
Optimized CSS for the "Noto Serif JP" WOFF2 font.
CSS · 0 人关注
Noto-Serif-KR-CSS
Optimized CSS for the "Noto Serif KR" WOFF2 font.
Python · 0 人关注
Noto-Serif-TC-CSS
Optimized CSS for the "Noto Serif TC" WOFF2 font.
0 人关注
patool
patool is a portable command line archive file manager
CSS · 0 人关注
pelican-theme-ion
A Boostrap 3 and material designed clear theme for Pelican.
0 人关注
PHP-CS-Fixer
A tool to automatically fix PHP Coding Standards issues
C · 0 人关注
php-ext-ds
An extension providing efficient data structures for PHP 7
jfcherng

jfcherng

V2EX 第 124815 号会员,加入于 2015-06-30 00:50:53 +08:00
今日活跃度排名 1045
根据 jfcherng 的设置,主题列表被隐藏
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
jfcherng 最近回复了
重啟治百病 藥到命除
@Trim21 #7 不用的,我是 https://github.com/sublimehq/Packages 的 collaborator 也有
校驗有問題本來就會標紅色,全 project 的校驗直接 mypy 走起

review 想起類型其實也不用那麼麻煩,但是 ST 這邊現在比較尷尬,因為純正的 pyright 並沒有 inlay hint 功能,隔壁的 coc-pyright 自己實現了 inlay hint 以及其他功能。

以前我是直接搞 LSP-pylance ,但是後來微軟發信警告我 license 不允許我這麼做,於是 github 上的 LSP-pylance 我下架了。Pylance 有 inlay hint ,就是微軟的 license 只准在自己的編輯器用。Pylance in ST 的效果,有能力的自己私底下可以搞個...
@NoOneNoBody #7 ??? 為什麼要做這種事情,pyright 的類型甚至比你指定的更精確
我這邊裝了 pandas-stubs 以後是正常的
@NoOneNoBody #4 pylance 是自帶 stubs 的
> 依据文档,as_index=True 时,gb.size()返回 series ,但 pyright 不能识别,仍然检查报告 dataframe 不符合类型

聽起來像是沒有安裝 https://pypi.org/project/pandas-stubs/ , 要不安裝到環境後重啟 pyright 試試?
@NoOneNoBody 如果你是說 sublime text 的話,裝 LSP, LSP-pyright, 重啟, 結束。
@NoOneNoBody

> 1. python 语言,通过 pylanc 插件,mouse over 就能看到从其他地方 import 的某函数的__doc__,sublime 则需要打开那个 import 文件看;

只要有 LSP 可以用的編輯器,都可以通過 pyright 達成。
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   820 人在线   最高记录 6067   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 19:20 · PVG 03:20 · LAX 12:20 · JFK 15:20
Developed with CodeLauncher
♥ Do have faith in what you're doing.