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
using UnityEngine; | |
using System.Collections; | |
public class Monster : MonoBehaviour { | |
/* Enum of states for FSM. Few more states should be add ie. for animation :HURTED */ | |
public enum MONSTER_STATE {PATROL = 0, CHASE = 1, ATTACK = 2}; | |
/* Current state of monster */ | |
public MONSTER_STATE ActiveState = MONSTER_STATE.PATROL; | |
/* Current health of monster. It's independ with enemy protection, only show % of health, wchih should be |
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
guest_files/zadanie4/ | |
└── usr | |
├── include | |
│ ├── minix | |
│ │ └── callnr.h | |
│ └── unistd.h | |
└── src | |
├── include | |
│ └── unistd.h | |
└── minix |
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
extern crate languageserver_types as ls_types; | |
pub trait Request { | |
type Param; | |
type Result; | |
// Has to be a method as associated constants are unstable | |
fn method(&self) -> &'static str; | |
fn id(&self) -> &ls_types::NumberOrString; | |
fn params(&self) -> &Self::Param; | |
} |
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
diff --git a/src/extension.ts b/src/extension.ts | |
index c4a6301..d7920f1 100644 | |
--- a/src/extension.ts | |
+++ b/src/extension.ts | |
@@ -112,11 +112,10 @@ export function activate(context: ExtensionContext) { | |
// Create the language client and start the client. | |
let lc = new LanguageClient('Rust Language Server', serverOptions, clientOptions); | |
+ lcOutputChannel = lc.outputChannel; | |
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
call plug#begin('~/.local/share/nvim/plugged') | |
Plug 'autozimu/LanguageClient-neovim', { 'do': ':UpdateRemotePlugins' } | |
" (Optional) Multi-entry selection UI. | |
Plug 'junegunn/fzf' | |
" " (Optional) Multi-entry selection UI. | |
Plug 'Shougo/denite.nvim' | |
" | |
" " (Optional) Completion integration with deoplete. |
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
Abstract | |
Providing reasonable IDE support via Rust Language Server | |
How Rust Language Server understands your project as an IDE tool # One of two? | |
One of the key measures of the language usability is extensive tooling, particularly having a mature and accessible IDE. | |
# There is a reason why IDEs are such a hot topic when discussing language usability and tooling surrounding it. | |
By providing code navigation, generation and refactoring facilities, IDEs speed up considerably | |
the core edit-compile-debug cycle. Throw autocompletion in and not only do you get a practical tool that | |
supports everyday development but you also get a learning tool, which supports the learning by tinkering approach. |
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
5 mins IDE/rls talk, 5 mins demo, 5 mins Cargo + workspaces, 10 mins on making workspaces work in the RLS (including another demo), 5 mins for questions | |
>>>>>>>>>>>>>>>>>>>>>>> | |
How Rust Language Server, the IDE tool, understands your project | |
>>>>>>>>>>>>>>>>>>>>>>> | |
Abstract | |
(A concise, engaging description for the public program. Limited to 600 characters.) | |
One of the key measures of the language usability is extensive tooling, particularly having a mature and accessible IDE. | |
By providing code navigation, generation and refactoring facilities, IDEs speed up considerably the core edit-compile-debug cycle. |
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
>>>>>>>>>>>>>>>>>>>>>>> | |
Teaching an IDE to understand Rust | |
>>>>>>>>>>>>>>>>>>>>>>> | |
Abstract | |
(A concise, engaging description for the public program. Limited to 600 characters.) | |
IDE support is one of Rust's most requested features. From the 2017 State of Rust Survey: | |
roughly 30% of Rust users are looking forward to IDE support more than any other feature in 2017 and for 22% of | |
non-users, lack of IDE support is their main reason for not using Rust. Thankfully, the Rust Language Server is here now and it gets smarter and | |
more capable every day. |
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
Teaching an IDE to understand Rust | |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
Abstract | |
IDE support is one of Rust's most requested features. From the 2017 State of Rust Survey: roughly 30% of Rust users are looking forward to IDE support more than any other feature in 2017 and for 22% of non-users, lack of IDE support is their main reason for not using Rust. | |
In this talk, I'll cover what it took to support Cargo workspaces in the RLS and I'll explain how the RLS leverages | |
existing tooling, including Cargo and the compiler. I'll demonstrate the current state of Rust programming with an IDE, and how you can benefit from using an IDE with your Rust projects. | |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
Details |
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
Igor is studying Computer Science at the University of Warsaw, Poland. Having | |
worked on a AAA game and various smaller ones, he grew tired of the | |
repetitiveness of the process and started a journey to find a language that | |
would aid in building better abstractions. He discovered Rust and | |
decided to help further the IDE story, so the development process would be | |
more enjoyable. He was accepted onto the Google Summer of Code 2017 | |
as a student and has been working to improve the RLS and IDE support. |
OlderNewer