You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2023/01/08 16:46:41 UTC
[GitHub] [netbeans] d01010101 opened a new issue, #5244: sout + does not work under `for`
d01010101 opened a new issue, #5244:
URL: https://github.com/apache/netbeans/issues/5244
### Apache NetBeans version
Apache NetBeans 16
### What happened
`sout` is at least one of the abbreviations which do not in certain contexts
### How to reproduce
Write a for-loop's header, press enter, write `sout`, press tab, the abbreviation does not change into `System.out.println("")`.
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Linux Mint 20.2 Uma
### JDK
OpenJDK Runtime Environment (build 14.0.1+7)
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] neilcsmith-net commented on issue #5244: sout + does not work under `for`
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #5244:
URL: https://github.com/apache/netbeans/issues/5244#issuecomment-1410221060
OK, yes, without braces it doesn't work. Whereas `while` and `if` do. Workaround is obviously to use ~~better code formatting~~ braces. :smile: Adding labels for contributions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] sout + does not work under `for` [netbeans]
Posted by "Stuaarts (via GitHub)" <gi...@apache.org>.
Stuaarts commented on issue #5244:
URL: https://github.com/apache/netbeans/issues/5244#issuecomment-5482015552
Hi, I'd like to work on this issue as my first contribution. Is it still available ? If so, Could you please assign the issue to me? Thank you !
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] sout + does not work under `for` [netbeans]
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #5244:
URL: https://github.com/apache/netbeans/issues/5244#issuecomment-3734817806
@sumitcodes899 submission should of course tackle the problem and be tested. The submission should be minimal and only touch code that actually needs to be touched. Formatting should follow the style of the surrounding code. Testing should be implemented if possible, see the target project for examples.
So implement the change, test it and the open a PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] neilcsmith-net commented on issue #5244: sout + does not work under `for`
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #5244:
URL: https://github.com/apache/netbeans/issues/5244#issuecomment-1408852608
Cannot reproduce this at all. Can you share all the surrounding code for a simple example that exhibits the problem? Anything in `View / IDE log` after you tab?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] TheMarvelFan commented on issue #5244: sout + does not work under `for`
Posted by "TheMarvelFan (via GitHub)" <gi...@apache.org>.
TheMarvelFan commented on issue #5244:
URL: https://github.com/apache/netbeans/issues/5244#issuecomment-1694666788
Hi.
Is anyone working on this issue?
If not I would like to do it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] d01010101 commented on issue #5244: sout + does not work under `for`
Posted by "d01010101 (via GitHub)" <gi...@apache.org>.
d01010101 commented on issue #5244:
URL: https://github.com/apache/netbeans/issues/5244#issuecomment-1410166106
In the case of `for` without braces, it never works. Even in a test project which has just been created. Maybe it clashes with some configuration option.
```
public class NewClass {
public static void main(String[] args) {
System.out.println("");
while(true)
System.out.println("");
for(int i = 0; i < 10; ++i) {
System.out.println("");
}
int j = 1;
if(j == 1)
System.out.println("");
for(int i = 0; i < 10; ++i)
sout
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] sout + does not work under `for` [netbeans]
Posted by "sumitcodes899 (via GitHub)" <gi...@apache.org>.
sumitcodes899 commented on issue #5244:
URL: https://github.com/apache/netbeans/issues/5244#issuecomment-3727811184
Hi, I’d like to work on this issue as my first contribution.
Please let me know if it’s still available and if there are any guidelines I should follow.
Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] sout + does not work under `for` [netbeans]
Posted by "harshit391 (via GitHub)" <gi...@apache.org>.
harshit391 commented on issue #5244:
URL: https://github.com/apache/netbeans/issues/5244#issuecomment-2323178601
Solution :- https://singla391.notion.site/TMC-Net-beans-Sout-Problem-546ba7c0a21f4acab8998f597e829bb7?pvs=25
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] sout + does not work under `for` [netbeans]
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #5244:
URL: https://github.com/apache/netbeans/issues/5244#issuecomment-5482142808
@Stuaarts there is no need for assignments. Just do the work and propose a PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists