-
Updated
May 20, 2020 - Ruby
refactoring
Here are 568 public repositories matching this topic...
I would love to have fail_fast configuration option on check level not only at the level of the whole configuration file.
The use case I have in mind - i have one specific pre-commit check that performs docker builds of images that are used by later checks. This is fairly complex build and I have some optimisations in place to build it once and not re-run Docker build . again (because just run
Returns:
Invalid config file: Unexpected token } in JSON at position 210
for
{
"threshold": 30,
"identifiers": true,
"literals": true,
"color": true,
"minInstances": 2,
"ignore": "test|spec|mock",
"reporter": "json",
"truncate": 100,
}should be:
{
"threshold": 30,
"identifiers": true,
"literals": true,
"color": true,
"minI-
Updated
May 22, 2020 - PHP
-
Updated
Oct 1, 2019
-
Updated
Jan 9, 2020 - Java
Attribute docstrings, as defined in PEP-257 are strings immediately following top level module names. For example:
name = "my variable"
"""the name used by the module for x, y, and z"""
The check-docstring-first incorrectly identifies this attribute docstring as a module docstring, indicating either `Multiple module docstrings (fi
-
Updated
Jun 26, 2019 - Python
-
Updated
May 16, 2020 - Vim script
It would be great to have an introduction for each topic so I can understand why that topic is relevant e why I should spend time studying it.
Blocked By: wix/vscode-glean#97
Example:
class Foo extends Component {
render() {
return (<div>
{this.props.foo.map((bar) => <div>{bar.x}</div>)}
</div>)
}
}
Current:
const Foo = props => {
const foo = useRef();
const x = useRef();
return <div>
{foo.current.map(bar => <div>{x.current}</div>)}
Given input:
if(cond1 || (cond2 && experiments.isToggleEnabled(STALE_FLAG)) {
// do something
}
the output of PiranhaJava is
if(cond1 || (cond2)) {
// do something
}
The additional paranthesis around cond2 should be eliminated.
Hello, I'm getting back to clojure after a while. I am using spacemacs and updated to the current stable cider. However, when I open up a clojure file and do special-lispy-eval, I get this error:
[nREPL] Starting server via /home/mvilpas/bin/lein update-in :dependencies conj \[com.cemerick/pomegranate\ \"0.4.0\"\] -- update-in :dependencies conj \[org.tcrawley/dynapath\ \"0.2.5\"\] -- up
A few restrictions are supported for “holes” already.
A search for alphanumeric characters and punctuation can be specified by a syntax which is slightly different from other filter possibilities.
I imagine that advanced filters could be specified directly after the match identifier.
- Character class
- Regular expression
- Predefi
-
Updated
Oct 25, 2018 - JavaScript
Currently in the documentation it shows that that you should install scalafix in the following way:
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.13")However, 0.9.13 is the current version of core, not the plugin. However, the version of core gets put into the plugin here. This may not be common as they may always be in sync, but this might confuse people as they try t
The current documentation of the transform command is incomplete. It doesn't mention the possible values for the eventually required transform parameter which would be nice to know in case the client would like to call the transform command by immediately providing the specific transformation type to skip the input callback.
Relevant part of the documentation: https://phpactor.readthedocs.i
-
Updated
Apr 17, 2017 - JavaScript
-
Updated
Aug 27, 2019 - Vim script
Line 74 of INTERNALS says: "The OpenRefactory protocol is documented at FIXME: URL"
It would probably be best to add it to the repository, probably under engine/protocol (since that's where it's needed).
IIRC, there's a Word doc and a PDF. No harm in uploading both.
@roberthorn do you have this document? If not, I'm sure I do somewhere... have to search...
-
Updated
Dec 16, 2019 - C++
-
Updated
Apr 2, 2020 - Go
-
Updated
Mar 6, 2020 - Ruby
-
Updated
Feb 9, 2020 - Vim script
You can't inherit the entire documentation from a parent method if its parameter list is different, as the documentation doesn't apply.
Add About Dialog
The About Dialog should roughly look like this:
The dialog cannot change its window size. Pick up a size that is not too small and not too big and can fit on a 14" laptop screen ;-)
About Tab
If there is an internet connection fetch the data from GitHub and VS Marketplace and
It is not clear from the documentation or from the --help page which mode is the default one.
I'd suggest either adding this into --help page:
- repren: Multi-pattern string replacement and file renaming
+ repren: Multi-pattern string replacement (default) and file renaming tool
or adding a command-line option:
-p PAT_FILE, --patterns=PAT_FILE
file with mu
I'm trying to use reorder_python_imports with Visual Studio Code. Unfortunately, built-in support in the Python extension was already rejected due to lack of demand, but I'd still like to use it.
I've tried setting "python.sortImports.path": "reorder-python-imports", but that results in the error:
> reorder-python-imports ~/p
Improve this page
Add a description, image, and links to the refactoring topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the refactoring topic, visit your repo's landing page and select "manage topics."

For a lot of things (especially usages) jedi's completely lazy approach is not good enough. It is probably better to use a database index cache. The index will basically be a graph that saves all the type inference findings.
This is just an issue for discussion and collection of possible ideas.