jetbrains-ide

JetBrains Rider C# | Windows Form UI [closed]

北城以北 提交于 2019-12-05 10:37:19
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I've developed a console application using Rider IDE by JetBrains. What I wanted to know is if there's a way of build an UI using Rider IDE? Or a plugin which creates the basic setup for an app with UI? Q: Are you also developing a GUI designer like in Visual Studio for WinForms, WPF etc? A: Yes, we’re looking at how we can support at least previewing WinForms/WPF/Xamarin Forms. We’re not sure we’re going to

IntelliJ null check warnings

倖福魔咒の 提交于 2019-12-05 07:31:27
I often have code like this: protected @Nullable Value value; public boolean hasValue() { return value != null; } the problem with this is that when I do null checks like so: if (!hasValue()) throw... return value.toString(); then IntelliJ will warn me about a possible NPE whereas if (value != null) throw... return value.toString(); avoids this warning. is there a way to decorate my hasValue() method so that IntelliJ knows it does a null check? and won't display the warning? Intellij-Jetbrains is very clever IDE and itself suggests you way for solving many problems. Look at screenshot below.

Shortcut key in PhpStorm to move to HTML end tag

核能气质少年 提交于 2019-12-05 01:43:08
Having a section of HTML tag: <div> /* a long long text */ </div> Suppose the caret is at the begin of the tag <div> , is there any key to move the caret to the closing </div> ? There is a similar concept on CSS (doesn't work on HTML) that works fine: .myClass { .... } in this case, Ctrl + ] / [ moves to the code block end/start. Here is the PhpStorm Default Keymap . I can't find the key I'm looking for. Ctrl + ] works just fine in .html files. But it fails for HTML tags in .php . It's a known issue -- subscribe to the ticket (star/vote/comment) to get notified on progress: http://youtrack

Ubuntu phpstorm : Interpreter is not specified or valid

淺唱寂寞╮ 提交于 2019-12-04 18:16:29
问题 I am configuring debugger on phpstorm on Ubuntu. I easily could set interpreter's path like C:xampp/php properly on Windows. But linux should have different path for interpreter. I searched on this site a lot and on google too but could not get the answer. What should be php's interpreter path so that phpstorm recognizes it and thus i can do debugging? Anything missing?? Thanks. 回答1: I think there's been a misunderstanding. include path should point to a folder containing PHP files, not PHP

How to set syntax highlighting to a code section to a specific language programmatically/with comments?

邮差的信 提交于 2019-12-04 15:29:26
I have a Laravel blade template (.blade.php) which contains plain JavaScript as a section that will be later inserted into a generic wrapper. So the example would be: <div>Some HTML content</div> @section('js') var a = "b"; someCall(); @endsection Now PhpStorm would recognize the JavaScript if it was in <script> tag, which it can't be. So I've tried this which I would expect to work like a section highlighter hint: @section('js') // @lang JavaScript var a = "b"; someCall(); // @endlang @endsection and this @section('js') // language=JavaScript var a = "b"; someCall(); @endsection But nothing

hide WebStorm toolbar showing browser icons

时间秒杀一切 提交于 2019-12-04 09:50:13
问题 How do I hide the toolbar that shows browser icons floating above my code? I'm using WebStorm 64 bit, version 10.0.4, on Windows 8.1 x64. 回答1: Settings/Preferences Tools | Web Browsers Uncheck Show browser popup in the editor option (bottom part of the screen) Another possible solution: just disable all browsers in that list. 来源: https://stackoverflow.com/questions/31760756/hide-webstorm-toolbar-showing-browser-icons

JetBrains Rider targets 4.5 framework and no option to switch to 4.7

依然范特西╮ 提交于 2019-12-04 08:26:08
Basically, when trying to add NuGet package which is not supporting older frameworks getting the error. However in project configuration only 4.5 is available. During the project creation no option to select the target is present. Is there any way to configure it properly? I haven't found out how to set up .NET framework globally but here is a convenient way: 来源: https://stackoverflow.com/questions/45571086/jetbrains-rider-targets-4-5-framework-and-no-option-to-switch-to-4-7

Phpstorm line numbers column width

巧了我就是萌 提交于 2019-12-04 04:56:39
The numbers column is very wide, and this is bothers me. I want to open more workspaces. Therefore I want it to be narrow. How do I do this? I use PHPStorm Version 2017.1.4. In this version there is an option to hide gutter icons, which reduces the line number column width. Even if there are no gutter icons visible, the space is still allocated. If you don't need these icons, you can choose to hide them in the settings and the column width will be reduced. Navigate in settings to: Editor > General > Gutter Icons Uncheck: "Show Gutter Icons" Before Image: https://i.stack.imgur.com/QGRjH.jpg

In JetBrains tools, how can I share IDE and project settings between multiple developers?

情到浓时终转凉″ 提交于 2019-12-04 02:37:06
I love the JetBrains tools. But, I can't find a way to effectively share settings at the IDE level and the project level with team members. To date, I've followed instructions provided by an article on the JetBrains site, titled "How to manage projects under Version Control Systems" . But, many comments on the article warn against implementing it as a method for sharing project settings. And I've run into a few issue with the method, namely not everything I'd like to be shared, is actually shared with team members. I've also tried using the function found under the File->Settings Repository

What is the 'Resource Root' designation for in PHPStorm? For that matter, what does PHPStorm consider to be a resource?

主宰稳场 提交于 2019-12-03 23:27:16
This question was migrated from Software Engineering Stack Exchange because it can be answered on Stack Overflow. Migrated 5 years ago . Learn more . Maybe I'm being thick, but I fail to understand what the 'Resource Root' button/designation is for when creating a project in PHPStorm. Having looked at the PHPStorm documentation on the topic , the only explanation I've found is a variation on the following: "Resource Root: By assigning a folder to this category, you tell PhpStorm that files in it and in its subfolders can be referenced relative to this folder (instead of specifying full paths