-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b869150
commit 8011caa
Showing
1 changed file
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# CodeAssist V0.2.5 ALPHA | ||
|
||
## Smart Insert Handlers | ||
Selecting a completion item will now adjust the cursor position accordingly. | ||
|
||
### Java | ||
Selecting a method completion item will automatically insert semicolon if the completing method returns `void` | ||
 | ||
|
||
If the completing method has parameters, the cursor position will be moved inside the parentheses. | ||
 | ||
|
||
For keywords, space will be automatically appended if typing on a blank line. | ||
|
||
### XML | ||
Selecting an attribute will automatically place the cursor in between the quote (") characters. | ||
Selecting a value from the completion list will automatically place the cursor on the next line if its not a `FLAG` attribute. | ||
 | ||
|
||
## Variable Name Suggestion | ||
For java variables, CodeAssist now suggests names based on the type. | ||
|
||
## Improved Override Inherited Methods Dialog | ||
Methods will now appear as a tree with the class methods as the leaf, arranged at from the direct super class until it reaches `java.lang.Object` | ||
|
||
## Adding custom repository URL | ||
Custom repositories can now be added through the repositories.xml file located at the `app` module. The json format is an array of objects with keys of `url` and `name`. | ||
The `url` key specifies the url that the dependency resolver will look for dependencies. The `name` key specifies the name of the directory CodeAssist will use to store caches. | ||
Example contents of `repositories.json` | ||
```json | ||
[ | ||
{ | ||
"name": "maven", | ||
"url": "https://repo1.maven.org/maven2" | ||
} | ||
] | ||
``` | ||
|
||
## Zip Align | ||
APKs are now aligned with `zipalign` before signing. | ||
|
||
## Fix files becoming blank | ||
To prevent this issue, the code editor will no longer save files if there is an error with reading them. There will be a snackbar to inform users. | ||
 | ||
|
||
## Auto deletion of symbol pairs | ||
Matching symbol pairs such as `()`, `[]` and `""` will be deleted if their left pair has been deleted. | ||
 | ||
|
||
## Ignored end pair symbols | ||
If the current character at the cursor position matches one of the right character from the symbol pairs, the insertion will be ignored and the cursor will go over the character. | ||
|
||
 | ||
|
||
|
||
## Miscellaneous Changes | ||
- Updated editor library to 0.9.2 | ||
- Text menus now uses the Action API. | ||
- Moved all file operations to background thread. | ||
- Fixed introduce local variable action not working inside a lambda. | ||
- Fixed crash and freezing when long pressing on a java code with no cache available. | ||
- Fixed some classes does not appear on xml tag completion. | ||
- Fixed flickering of the completion list when invoked multiple times. | ||
- Fixed crash when creating a file that already exists. |