Shortcut key to list attribute value in xml layouts in Android Studio
up vote
1
down vote
favorite
In Android Studio, when I open a layout file in text mode and enter in an attribute such as:
android:layout_width="match_parent"
It would be nice if there was a keyboard shortcut that I could use to list all the available attribute values for the attribute. In the above example, if I enter the letter "m", it presents me with matches including "match_parent". But I would like to see all the available attribute values.
android-studio
add a comment |
up vote
1
down vote
favorite
In Android Studio, when I open a layout file in text mode and enter in an attribute such as:
android:layout_width="match_parent"
It would be nice if there was a keyboard shortcut that I could use to list all the available attribute values for the attribute. In the above example, if I enter the letter "m", it presents me with matches including "match_parent". But I would like to see all the available attribute values.
android-studio
Usually all attributes should be shown in the drop-down when the value string is empty (""
), and the cursor is inside it. If it isn't visible, try pressingCtrl + Space
. That usually displays the possibilities.
– TheGamer007
20 hours ago
Unfortunately Ctrl + Space on a Mac brings up the Spotlight Search input which is part of the OS.
– AndroidDev
20 hours ago
1
This might help then stackoverflow.com/questions/11085913/…
– TheGamer007
19 hours ago
@TheGamer007 You can move your solution into an answer and I can accept it.
– AndroidDev
19 hours ago
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
In Android Studio, when I open a layout file in text mode and enter in an attribute such as:
android:layout_width="match_parent"
It would be nice if there was a keyboard shortcut that I could use to list all the available attribute values for the attribute. In the above example, if I enter the letter "m", it presents me with matches including "match_parent". But I would like to see all the available attribute values.
android-studio
In Android Studio, when I open a layout file in text mode and enter in an attribute such as:
android:layout_width="match_parent"
It would be nice if there was a keyboard shortcut that I could use to list all the available attribute values for the attribute. In the above example, if I enter the letter "m", it presents me with matches including "match_parent". But I would like to see all the available attribute values.
android-studio
android-studio
asked 20 hours ago
AndroidDev
9,8532391163
9,8532391163
Usually all attributes should be shown in the drop-down when the value string is empty (""
), and the cursor is inside it. If it isn't visible, try pressingCtrl + Space
. That usually displays the possibilities.
– TheGamer007
20 hours ago
Unfortunately Ctrl + Space on a Mac brings up the Spotlight Search input which is part of the OS.
– AndroidDev
20 hours ago
1
This might help then stackoverflow.com/questions/11085913/…
– TheGamer007
19 hours ago
@TheGamer007 You can move your solution into an answer and I can accept it.
– AndroidDev
19 hours ago
add a comment |
Usually all attributes should be shown in the drop-down when the value string is empty (""
), and the cursor is inside it. If it isn't visible, try pressingCtrl + Space
. That usually displays the possibilities.
– TheGamer007
20 hours ago
Unfortunately Ctrl + Space on a Mac brings up the Spotlight Search input which is part of the OS.
– AndroidDev
20 hours ago
1
This might help then stackoverflow.com/questions/11085913/…
– TheGamer007
19 hours ago
@TheGamer007 You can move your solution into an answer and I can accept it.
– AndroidDev
19 hours ago
Usually all attributes should be shown in the drop-down when the value string is empty (
""
), and the cursor is inside it. If it isn't visible, try pressing Ctrl + Space
. That usually displays the possibilities.– TheGamer007
20 hours ago
Usually all attributes should be shown in the drop-down when the value string is empty (
""
), and the cursor is inside it. If it isn't visible, try pressing Ctrl + Space
. That usually displays the possibilities.– TheGamer007
20 hours ago
Unfortunately Ctrl + Space on a Mac brings up the Spotlight Search input which is part of the OS.
– AndroidDev
20 hours ago
Unfortunately Ctrl + Space on a Mac brings up the Spotlight Search input which is part of the OS.
– AndroidDev
20 hours ago
1
1
This might help then stackoverflow.com/questions/11085913/…
– TheGamer007
19 hours ago
This might help then stackoverflow.com/questions/11085913/…
– TheGamer007
19 hours ago
@TheGamer007 You can move your solution into an answer and I can accept it.
– AndroidDev
19 hours ago
@TheGamer007 You can move your solution into an answer and I can accept it.
– AndroidDev
19 hours ago
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
The 'Basic Code Completion' shortcut can be used for this. The default keymap is Ctrl + Space
. For Mac users, this will clash with the shortcut for Spotlight, and they can set a custom keymap or follow one of the other solutions given at this question.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
The 'Basic Code Completion' shortcut can be used for this. The default keymap is Ctrl + Space
. For Mac users, this will clash with the shortcut for Spotlight, and they can set a custom keymap or follow one of the other solutions given at this question.
add a comment |
up vote
1
down vote
accepted
The 'Basic Code Completion' shortcut can be used for this. The default keymap is Ctrl + Space
. For Mac users, this will clash with the shortcut for Spotlight, and they can set a custom keymap or follow one of the other solutions given at this question.
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
The 'Basic Code Completion' shortcut can be used for this. The default keymap is Ctrl + Space
. For Mac users, this will clash with the shortcut for Spotlight, and they can set a custom keymap or follow one of the other solutions given at this question.
The 'Basic Code Completion' shortcut can be used for this. The default keymap is Ctrl + Space
. For Mac users, this will clash with the shortcut for Spotlight, and they can set a custom keymap or follow one of the other solutions given at this question.
answered 19 hours ago
TheGamer007
29727
29727
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53407745%2fshortcut-key-to-list-attribute-value-in-xml-layouts-in-android-studio%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Usually all attributes should be shown in the drop-down when the value string is empty (
""
), and the cursor is inside it. If it isn't visible, try pressingCtrl + Space
. That usually displays the possibilities.– TheGamer007
20 hours ago
Unfortunately Ctrl + Space on a Mac brings up the Spotlight Search input which is part of the OS.
– AndroidDev
20 hours ago
1
This might help then stackoverflow.com/questions/11085913/…
– TheGamer007
19 hours ago
@TheGamer007 You can move your solution into an answer and I can accept it.
– AndroidDev
19 hours ago