Skip to content

Commit 051e2e4

Browse files
committed
Reformat all source file
1 parent 5115acc commit 051e2e4

File tree

780 files changed

+110570
-106258
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

780 files changed

+110570
-106258
lines changed

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
---
2-
name: Bug
3-
about: Report a bug in the IDE.
4-
title: ""
5-
labels: bug
6-
assignees: ''
2+
name: Bug about: Report a bug in the IDE. title: ""
3+
labels: bug assignees: ''
74
---
85

96
**Describe the bug**
@@ -20,9 +17,10 @@ Steps to reproduce the behavior:
2017
<!-- If applicable, add screenshots to help explain your problem. -->
2118

2219
**Details (please complete the following information):**
23-
- Device: [e.g. realme 3 Pro]
24-
- OS: [e.g. Android 11]
25-
- AndroidIDE Version [e.g. v1.0.3-alpha]
20+
21+
- Device: [e.g. realme 3 Pro]
22+
- OS: [e.g. Android 11]
23+
- AndroidIDE Version [e.g. v1.0.3-alpha]
2624

2725
**Additional context**
2826
<!-- Add any other context about the problem here. -->

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
---
2-
name: Feature request
3-
about: Suggest an idea for this project
4-
title: "[FEATURE]: "
5-
labels: feature
6-
assignees: ''
2+
name: Feature request about: Suggest an idea for this project title: "[FEATURE]: "
3+
labels: feature assignees: ''
74

85
---
96

CODE_OF_CONDUCT.md

Lines changed: 56 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -2,124 +2,110 @@
22

33
## Our Pledge
44

5-
We as members, contributors, and leaders pledge to make participation in our
6-
community a harassment-free experience for everyone, regardless of age, body
7-
size, visible or invisible disability, ethnicity, sex characteristics, gender
8-
identity and expression, level of experience, education, socio-economic status,
9-
nationality, personal appearance, race, religion, or sexual identity
10-
and orientation.
5+
We as members, contributors, and leaders pledge to make participation in our community a
6+
harassment-free experience for everyone, regardless of age, body size, visible or invisible
7+
disability, ethnicity, sex characteristics, gender identity and expression, level of experience,
8+
education, socio-economic status, nationality, personal appearance, race, religion, or sexual
9+
identity and orientation.
1110

12-
We pledge to act and interact in ways that contribute to an open, welcoming,
13-
diverse, inclusive, and healthy community.
11+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and
12+
healthy community.
1413

1514
## Our Standards
1615

17-
Examples of behavior that contributes to a positive environment for our
18-
community include:
16+
Examples of behavior that contributes to a positive environment for our community include:
1917

2018
* Demonstrating empathy and kindness toward other people
2119
* Being respectful of differing opinions, viewpoints, and experiences
2220
* Giving and gracefully accepting constructive feedback
23-
* Accepting responsibility and apologizing to those affected by our mistakes,
24-
and learning from the experience
25-
* Focusing on what is best not just for us as individuals, but for the
26-
overall community
21+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the
22+
experience
23+
* Focusing on what is best not just for us as individuals, but for the overall community
2724

2825
Examples of unacceptable behavior include:
2926

30-
* The use of sexualized language or imagery, and sexual attention or
31-
advances of any kind
27+
* The use of sexualized language or imagery, and sexual attention or advances of any kind
3228
* Trolling, insulting or derogatory comments, and personal or political attacks
3329
* Public or private harassment
34-
* Publishing others' private information, such as a physical or email
35-
address, without their explicit permission
36-
* Other conduct which could reasonably be considered inappropriate in a
37-
professional setting
30+
* Publishing others' private information, such as a physical or email address, without their
31+
explicit permission
32+
* Other conduct which could reasonably be considered inappropriate in a professional setting
3833

3934
## Enforcement Responsibilities
4035

41-
Community leaders are responsible for clarifying and enforcing our standards of
42-
acceptable behavior and will take appropriate and fair corrective action in
43-
response to any behavior that they deem inappropriate, threatening, offensive,
44-
or harmful.
36+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior
37+
and will take appropriate and fair corrective action in response to any behavior that they deem
38+
inappropriate, threatening, offensive, or harmful.
4539

46-
Community leaders have the right and responsibility to remove, edit, or reject
47-
comments, commits, code, wiki edits, issues, and other contributions that are
48-
not aligned to this Code of Conduct, and will communicate reasons for moderation
49-
decisions when appropriate.
40+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits,
41+
code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and
42+
will communicate reasons for moderation decisions when appropriate.
5043

5144
## Scope
5245

53-
This Code of Conduct applies within all community spaces, and also applies when
54-
an individual is officially representing the community in public spaces.
55-
Examples of representing our community include using an official e-mail address,
56-
posting via an official social media account, or acting as an appointed
57-
representative at an online or offline event.
46+
This Code of Conduct applies within all community spaces, and also applies when an individual is
47+
officially representing the community in public spaces. Examples of representing our community
48+
include using an official e-mail address, posting via an official social media account, or acting as
49+
an appointed representative at an online or offline event.
5850

5951
## Enforcement
6052

61-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62-
reported to the community leaders responsible for enforcement either by opening
63-
an issue or writing me an email at [[email protected]](mailto:[email protected]).
64-
All complaints will be reviewed and investigated promptly and fairly.
53+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community
54+
leaders responsible for enforcement either by opening an issue or writing me an email
55+
at [[email protected]](mailto:[email protected]). All complaints will be reviewed and investigated
56+
promptly and fairly.
6557

66-
All community leaders are obligated to respect the privacy and security of the
67-
reporter of any incident.
58+
All community leaders are obligated to respect the privacy and security of the reporter of any
59+
incident.
6860

6961
## Enforcement Guidelines
7062

71-
Community leaders will follow these Community Impact Guidelines in determining
72-
the consequences for any action they deem in violation of this Code of Conduct:
63+
Community leaders will follow these Community Impact Guidelines in determining the consequences for
64+
any action they deem in violation of this Code of Conduct:
7365

7466
### 1. Correction
7567

76-
**Community Impact**: Use of inappropriate language or other behavior deemed
77-
unprofessional or unwelcome in the community.
68+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or
69+
unwelcome in the community.
7870

79-
**Consequence**: A private, written warning from community leaders, providing
80-
clarity around the nature of the violation and an explanation of why the
81-
behavior was inappropriate. A public apology may be requested.
71+
**Consequence**: A private, written warning from community leaders, providing clarity around the
72+
nature of the violation and an explanation of why the behavior was inappropriate. A public apology
73+
may be requested.
8274

8375
### 2. Warning
8476

85-
**Community Impact**: A violation through a single incident or series
86-
of actions.
77+
**Community Impact**: A violation through a single incident or series of actions.
8778

88-
**Consequence**: A warning with consequences for continued behavior. No
89-
interaction with the people involved, including unsolicited interaction with
90-
those enforcing the Code of Conduct, for a specified period of time. This
91-
includes avoiding interactions in community spaces as well as external channels
92-
like social media. Violating these terms may lead to a temporary or
93-
permanent ban.
79+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people
80+
involved, including unsolicited interaction with those enforcing the Code of Conduct, for a
81+
specified period of time. This includes avoiding interactions in community spaces as well as
82+
external channels like social media. Violating these terms may lead to a temporary or permanent ban.
9483

9584
### 3. Temporary Ban
9685

97-
**Community Impact**: A serious violation of community standards, including
98-
sustained inappropriate behavior.
86+
**Community Impact**: A serious violation of community standards, including sustained inappropriate
87+
behavior.
9988

100-
**Consequence**: A temporary ban from any sort of interaction or public
101-
communication with the community for a specified period of time. No public or
102-
private interaction with the people involved, including unsolicited interaction
103-
with those enforcing the Code of Conduct, is allowed during this period.
104-
Violating these terms may lead to a permanent ban.
89+
**Consequence**: A temporary ban from any sort of interaction or public communication with the
90+
community for a specified period of time. No public or private interaction with the people involved,
91+
including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this
92+
period. Violating these terms may lead to a permanent ban.
10593

10694
### 4. Permanent Ban
10795

108-
**Community Impact**: Demonstrating a pattern of violation of community
109-
standards, including sustained inappropriate behavior, harassment of an
110-
individual, or aggression toward or disparagement of classes of individuals.
96+
**Community Impact**: Demonstrating a pattern of violation of community standards, including
97+
sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement
98+
of classes of individuals.
11199

112-
**Consequence**: A permanent ban from any sort of public interaction within
113-
the community.
100+
**Consequence**: A permanent ban from any sort of public interaction within the community.
114101

115102
## Attribution
116103

117-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118-
version 2.0, available at
104+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at
119105
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120106

121-
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122-
enforcement ladder](https://github.com/mozilla/diversity).
107+
Community Impact Guidelines were inspired
108+
by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
123109

124110
[homepage]: https://www.contributor-covenant.org
125111

CONTRIBUTING.md

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,42 @@
11
# Contributing
2-
This document outlines how to propose a change to AndrodIDE. By contributing to this project, you agree to abide the terms specified in [CODE OF CONDUCT](./CODE_OF_CONDUCT.md).
2+
3+
This document outlines how to propose a change to AndrodIDE. By contributing to this project, you
4+
agree to abide the terms specified in [CODE OF CONDUCT](./CODE_OF_CONDUCT.md).
35

46
## Propose a change
7+
58
To contribute to this project,
9+
610
- Fork the repo.
711
- Clone the forked repo to your local machine.
812
- Open the project in Android Studio.
913
- Make your changes.
1014
- Create a pull request.
1115

1216
## Note
13-
`Java 11` is required to build the project.
1417

15-
Building AndroidIDE in AndroidIDE itself is also possible. But that might require some modifications.
18+
`Java 11` is required to build the project.
1619

17-
If you face `AAPT2` issue while building AndroidIDE in the IDE itself, specify the `android.aapt2FromMavenOverride` property in `gradle.properties` with location of `aapt2` binary from Android SDK. However, this is an **experimental** property.
20+
Building AndroidIDE in AndroidIDE itself is also possible. But that might require some
21+
modifications.
22+
23+
If you face `AAPT2` issue while building AndroidIDE in the IDE itself, specify
24+
the `android.aapt2FromMavenOverride` property in `gradle.properties` with location of `aapt2` binary
25+
from Android SDK. However, this is an **experimental** property.
1826

1927
## Source code format
20-
The source code must have `2-space` indentation (soft tab).
21-
Java source code is formatted using `google-java-format` with `GOOGLE` style formatting.
22-
You can execute `./gradlew formatJavaSources` in terminal to format all Java source files using Google Java Format.
28+
29+
The source code must have `2-space` indentation (soft tab). Java source code is formatted
30+
using `google-java-format` with `GOOGLE` style formatting. You can
31+
execute `./gradlew formatJavaSources` in terminal to format all Java source files using Google Java
32+
Format.
2333
**This will commit the changes as well**.
2434

2535
## Issues & Pull requests
26-
Use the issue/PR templates when possible. Provide a proper title and a clear description for the issue/PR. For bug reports, provide a step-by-step procedure to reproduce the issue. Always put crash logs, build outputs, etc in `code blocks`.
2736

28-
If you want to discuss anything about the project, you can discuss it in the [Telegram group](https://t.me/androidide_discussions).
37+
Use the issue/PR templates when possible. Provide a proper title and a clear description for the
38+
issue/PR. For bug reports, provide a step-by-step procedure to reproduce the issue. Always put crash
39+
logs, build outputs, etc in `code blocks`.
40+
41+
If you want to discuss anything about the project, you can discuss it in
42+
the [Telegram group](https://t.me/androidide_discussions).

README.md

Lines changed: 36 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,56 +10,73 @@
1010
</p><br>
1111

1212
## Features
13+
1314
- [x] Gradle support.
1415
- [x] `JDK 11` and `JDK 17` available for use.
1516
- [x] Terminal with necessary packages.
1617
- [x] Custom environment variables (for Build & Terminal).
1718
- [x] SDK Manager (Available via terminal).
1819
- [x] API information for classes and their members (since, removed, deprecated).
1920
- [ ] Language servers
20-
- [x] Java
21-
- [x] XML (*)
22-
- [ ] Kotlin
21+
- [x] Java
22+
- [x] XML (*)
23+
- [ ] Kotlin
2324
- [ ] UI Designer
24-
- [x] Layout inflater
25-
- [x] Resolve resource references
26-
- [x] Auto-complete resource values when user edits attributes using the attribute editor
27-
- [x] Drag & Drop (*)
28-
- [x] Visual attribute editor (*)
29-
- [x] Android Widgets (*)
25+
- [x] Layout inflater
26+
- [x] Resolve resource references
27+
- [x] Auto-complete resource values when user edits attributes using the attribute editor
28+
- [x] Drag & Drop (*)
29+
- [x] Visual attribute editor (*)
30+
- [x] Android Widgets (*)
3031
- [ ] String Translator
3132
- [ ] Asset Studio (Drawable & Icon Maker)
3233
- [x] Git (*)
3334

3435
Items marked with `(*)` are partially implemented.
35-
`XML` language server supports only code completion at the moment. Git is currently available only in the terminal i.e. no GUI interface for `git`.
36+
`XML` language server supports only code completion at the moment. Git is currently available only
37+
in the terminal i.e. no GUI interface for `git`.
3638

3739
## Installation
38-
- Download the AndroidIDE APK from [releases](https://github.com/itsaky/AndroidIDE/releases). You can also download APKs from [GitHub actions](https://github.com/itsaky/AndroidIDE/actions).
39-
- Follow the instructions [here](https://github.com/itsaky/androidide-build-tools#installing-in-androidide) to install the build tools.
40+
41+
- Download the AndroidIDE APK from [releases](https://github.com/itsaky/AndroidIDE/releases). You
42+
can also download APKs from [GitHub actions](https://github.com/itsaky/AndroidIDE/actions).
43+
- Follow the
44+
instructions [here](https://github.com/itsaky/androidide-build-tools#installing-in-androidide) to
45+
install the build tools.
4046

4147
## Limitations
42-
- SDK Manager is already included in Android SDK and is accessible in AndroidIDE via its Terminal. But, you cannot use it to install some tools (like NDK) because those tools are not built for Android.
48+
49+
- SDK Manager is already included in Android SDK and is accessible in AndroidIDE via its Terminal.
50+
But, you cannot use it to install some tools (like NDK) because those tools are not built for
51+
Android.
4352
- No official NDK support because we haven't built the NDK for Android.
4453

45-
The app is still being developed actively. It's in beta stage and may not be stable. if you have any issues using the app, please let us know.
54+
The app is still being developed actively. It's in beta stage and may not be stable. if you have any
55+
issues using the app, please let us know.
4656

4757
## Contributing
58+
4859
See the [contributing guide](./CONTRIBUTING.md).
4960

5061
## Thanks to
51-
- [Rosemoe](https://github.com/Rosemoe) for the awesome [CodeEditor](https://github.com/Rosemoe/sora-editor)
62+
63+
- [Rosemoe](https://github.com/Rosemoe) for the
64+
awesome [CodeEditor](https://github.com/Rosemoe/sora-editor)
5265
- [Termux](https://github.com/termux) for [Terminal Emulator](https://github.com/termux/termux-app)
53-
- [Bogdan Melnychuk](https://github.com/bmelnychuk) for [AndroidTreeView](https://github.com/bmelnychuk/AndroidTreeView)
54-
- [George Fraser](https://github.com/georgewfraser) for the [Java Language Server](https://github.com/georgewfraser/java-language-server)
66+
- [Bogdan Melnychuk](https://github.com/bmelnychuk)
67+
for [AndroidTreeView](https://github.com/bmelnychuk/AndroidTreeView)
68+
- [George Fraser](https://github.com/georgewfraser) for
69+
the [Java Language Server](https://github.com/georgewfraser/java-language-server)
5570

5671
And all the developers who have contributed to this project.
5772

5873
## Contact Us
74+
5975
- [Website](https://androidide.com)
6076
- [Telegram](https://t.me/androidide_discussions)
6177

6278
## License
79+
6380
```
6481
AndroidIDE is free software: you can redistribute it and/or modify
6582
it under the terms of the GNU General Public License as published by
@@ -75,4 +92,5 @@ You should have received a copy of the GNU General Public License
7592
along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
7693
```
7794

78-
Any violations to the license can be reported either by opening an issue or writing a mail to us directly.
95+
Any violations to the license can be reported either by opening an issue or writing a mail to us
96+
directly.

0 commit comments

Comments
 (0)