Last active
July 7, 2016 08:19
-
-
Save durandom/41613072121f63f292447a0c9435bdfb to your computer and use it in GitHub Desktop.
Intellj Samples
This file contains hidden or 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
IntelliJ IDEA is a full-featured IDE | |
with a high level of usability and outstanding | |
advanced code editing and refactoring support. | |
abcdefghijklmnopqrstuvwxyz 0123456789 (){}[] | |
ABCDEFGHIJKLMNOPQRSTUVWXYZ +-*/= .,;:!? #&$%@|^ | |
//TODO: Visit JB Web resources: | |
JetBrains Home Page: http://www.jetbrains.com | |
JetBrains Developer Community: https://www.jetbrains.com/devnet | |
Search: | |
result = "text, text, text"; | |
i = result | |
return i; | |
Folded text | |
Deleted text | |
Template VARIABLE | |
Injected language: \.(gif|jpg|png)$ | |
Code Inspections: | |
Error | |
Warning | |
Weak warning | |
Deprecated symbol | |
Unused symbol | |
Unknown symbol | |
Problem from server | |
Duplicate from server | |
typo | |
unused entry |
This file contains hidden or 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
require "test" | |
CONSTANT = 777 | |
# Sample comment | |
class Module::Class | |
include Testcase | |
render :action => 'foo' | |
def foo(parameter) | |
@parameter = parameter | |
end | |
local_var = eval <<-"FOO";\ | |
printIndex "Hello world!" | |
And now this is heredoc! | |
printIndex "Hello world again!" | |
FOO | |
foo("#{$GLOBAL_TIME >> $`} is \Z sample \"string\"" * 777); | |
if ($1 =~ /sample regular expression/ni) then | |
begin | |
puts %W(sample words), CONSTANT, :fooo; | |
do_something :action => "action" | |
end | |
expect{counter[0]}.to_be eq 1 | |
1.upto(@@n) do |index| printIndex 'Hello' + index end | |
\\\\\\\\\\ | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment