Yi Cheng

Results 34 issues of Yi Cheng

I'm not a license expert, so only mean to provide some generic ideas in the long run. I noticed that this software and the libraries it uses including [PyQt](https://pypi.python.org/pypi/PyQt5) are...

on main: ``` % ./pants list not-a-source-root/slow.py not-a-source-root:bin not-a-source-root/slow.py:lib ``` on release branch (https://github.com/pantsbuild/pants/pull/16768): ``` % ./pants list not-a-source-root/slow.py not-a-source-root/slow.py:lib ``` `not-a-source-root/` content: ``` BUILD: python_sources(name='lib') pex_binary(name='bin', entry_point='slow.py', restartable=True) slow.py:...

bug

Repro'able for linux and mac. The normal behavior is ``` % echo 3 | bazel run test:HelloLibRepl ... INFO: Build completed successfully, 1 total action Welcome to Scala 2.12.14 (OpenJDK...

**What type of PR is this?** > Uncomment one line below and remove others. > > Bug fix > Feature > Documentation > Other **What package or component does this...

Hi, Thanks for making this awesome tool! To start, I ran into this one issue. If I do ``` changeType("com.example.util.collection.Optional", "com.google.common.base.Optional") ``` The result looks like: ``` -import com.example.util.collection.Optional; +import...

Repro: 1. import `testprojects/tests/java/org/pantsbuild/testproject/dummies/BUILD`, then select `passing_target` 2. import `testprojects/tests/java/org/pantsbuild/testproject/dummies/BUILD`, then select `failing_target` Workaround: import the directory`testprojects/tests/java/org/pantsbuild/testproject/dummies` The issue is likely that IDEA identifies the project by file/directory selected for...

### Problem Currently IntelliJ test configuration does not respect jvm options set up for `test.junit` configured in pants.ini ``` $ ./pants options | grep jvm.test.junit.options jvm.test.junit.options = ['-Djava.awt.headless=true', '-Djava.net.preferIPv4Stack=true', '-Xmx2g',...

``` com.intellij.diagnostic.PluginException: File type detector com.twitter.intellij.pants.file.BUILDFileTypeDetector@292dba72 does not implement getDetectedFileTypes(), leading to suboptimal performance. Please implement the method. [Plugin: com.intellij.plugins.pants] at com.intellij.ide.plugins.PluginManagerCore.createPluginException(PluginManagerCore.java:399) at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:12) at com.intellij.diagnostic.PluginException.createByClass(PluginException.java:58) at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.getDetectorsForType(FileTypeManagerImpl.java:1128) at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.isFileOfType(FileTypeManagerImpl.java:1182)...

for performance reasons. context: https://youtrack.jetbrains.com/issue/IDEA-204959