How to change recent project's background color? - goland

Does anyone know how to change the recent project's background color on Mac?enter image description here

Customization of IntelliJ-based IDEs (GoLand, PhpStorm, etc.) themes (UI elements, controls, background colors in UI elements) is available by creating a custom theme as a plugin.
Refer to the documentation and examples for more information:
https://plugins.jetbrains.com/docs/intellij/themes.html
https://github.com/JetBrains/intellij-sdk-docs/tree/main/code_samples/theme_basics

Related

How do the icons in TinyMCE work?

I can't seem to be able to find any information about this on the interwebs, but how do the icons in TinyMCE 4 work?
I know I can specify icons for buttons by name and specify custom icons for my custom buttons, but what if I wanted to take one of the standard icons, modify it in an image editing application and then save it as a custom icon. Where do I get the source image for that icon? Where can I see the full list of available icons and their names?
So, here is, possible, a partial answer to my own question or at least what I have managed to understand based on the poor documentation that currently exists for this aspect of TinyMCE 4.
Icons in TinyMCE 4.x use a custom IcoMoon font. The files for this font go in the skins//fonts directory.
If you download the TinyMCE Dev Package, you can find in js/tinymce/skins/lightgray/Icons.less all the icons that are available for that particular skin and you will be able to use those icons for your custom buttons (if you are using that skin).
You need to use the word between "-i-" and ":before". e.g. if the definition in Icons.less is:
.#{prefix}-i-alignleft:before
You can use the keyword alignleft as an icon for your custom button.
I haven't gotten as far as adding more icons to the default set, but I guess it would involve creating a new theme, hopefully inheriting from a parent theme, and defining your own Icons.less file and then process that LESS file to generate the appropriate CSS for your theme.

Can I use Qt Creator's new Flat theme in my application?

The new Flat theme of QtCreator looks nice and I want to apply to my application.
I know how to use QApplication::setStyle() to set a theme, but I don't know if this new theme ships with Qt at all, and if it ships, what is its name.
I searched for the flat theme file in my Qt install, and I found it at c:\Qt\Tools\QtCreator\share\qtcreator\themes\flat.creatortheme.
The flat theming was added by
commit Implement theming for QtCreator.
Here's the commit message:
Implement theming for QtCreator
Adds a 'Theme' tab to the environment settings and a '-theme' command
line option.
A theme is a combination of colors, gradients, flags and style
information.
There are two themes:
- 'default': preserves the current default look
- 'dark': uses a more flat for many widgets, dark color theme
for everything
This does not use a stylesheet (too limited), but rather sets
the palette via C++ and modifies drawing behavior.
Overall, the look is more flat (removed some gradients and bevels).
Tested on Ubuntu 14.04 using Qt 5.4 and running on a KDE
Desktop (Oxygen base style).
For a screenshot, see
https://gist.github.com/thorbenk/5ab06bea726de0aa7473
Changes:
- Introduce class Theme, defining the interface how to access theme
specific settings. The class reads a .creatortheme file (INI file, via
QSettings)
- Define named colors in the [Palette] section
(see dark.creatortheme for example usage)
- Use either named colors of AARRGGBB (hex) in the [Colors]
section
- A file ending with .creatortheme may be supplied
to the '-theme' command line option
- A global Theme instance can be accessed via creatorTheme()
- Query colors, gradients, icons and flags from the theme
were possible (TODO: use this in more places...)
- There are very many color roles. It seems better to me
to describe the role clearly, and then to consolidate later
in the actual theme by assigning the same color.
For example, one can set the text color of the output pane button
individualy.
- Many elements are also drawn differently.
For the dark theme, I wanted to have a flatter look.
- Introduce Theme::WidgetStyle enum, for now {Original, Flat}.
- The theme specifies which kind of widget style it wants.
- The drawing code queries the theme's style flag and
switches between the original, gradient based look and
the new, flat look.
- Create some custom icons which look better on dark background
(wip, currently folder/file icons)
- Let ManhattanStyle draw some elements for non-panelwidgets, too
(open/close arrows in QTreeView, custom folder/file icons)
- For the welcomescreen, pass the WelcomeTheme class.
WelcomeTheme exposes theme colors as Q_PROPERTY accessible from
.qml
- Themes can be modified via the 'Themes' tab in the environment
settings.
TODO:
* Unify image handling
* Avoid style name references
* Fix gradients
Change-Id: I92c2050ab0fb327649ea1eff4adec973d2073944
Reviewed-by: Thomas Hartmann
Reviewed-by: hjk
I have no experience with QML, but maybe the file is all you need, I don't know.
Check in src/libs/utils/theme/theme.cpp. It will probably be some work to extract that and generalize it for other applications.

Create Code Snippets in HTML5 Projects with Netbeans IDE

Is there a way to create reusable code snippets in HTML5 projects with Netbeans? I believe in Dreamweaver it's called a Library Item. Basically I have snippets of code (header, footer, nav, ect) that I need to use across the whole site as well as little modules that will show up on specific pages. Is there a way to achieve this in Netbeans? I've read about creating a template but I'm not sure that's what I'm looking for.
Thanks!
You can achieve this by using the Palette within NetBeans.
If you have a HTML file project, you can open the Palette (select Window | IDE Tools | Palette) from the main menu. The palette window will then open at the right hand side of NetBeans. A default palette has HTML and HTML forms options within it.
You can then select some code from within your HTML file and drag it onto the palette. At this point, NetBeans will display the Add to Palette dialog asking you for a name that you wish to give to this snippet, a tooltip and optionally an icon that will be displayed within the palette.
For you to use this snippet within your HTML file, simply drag the item from the palette into your HTML page.

What do these Web Essentials options do?

I see these menu options for my asp.net project beneath the Web Essentials menu:
Create solution settings
Create color palette
Create markdown stylesheet
The official site for Web Essentials doesn't seem to be too forthcoming about just what these options do, or why. Can somebody give me the skinny?
Create solution settings - sets the settings file per solution.
Reason: Many of the options affect the generation of code. Those options should be able to be shared alongside the solution file so all members of a team automatically use the same settings. Also, if the settings are stored alongside the solution, they can be checked into version control.
Create color palette - WE reads and generates UI that shows your site's color pallete, from there you could just pick the colors instead of having to try to remember what the color codes are.
Create markdown stylesheet - I think this one is used for code samples, allows to specify a custom CSS file for the Markdown preview pane

Setting style(color) to button in gxt/sencha

Hye all
I was trying the free version of sencha API with GWT in base and stumbled upon on the issue of setting color to a button. I tried modifying all the CSS get deployed in the war and tried setting styles also but no luck there. So kindly at least suggest a approach.Thanks in advance.
regards
la_89ondevg
By "Sencha", I'll assume that you mean Ext GWT.
The default styling of buttons in Ext GWT comes from a sprite sheet in the resources folder that came with your download of Ext GWT. Specifically, look at resources/images/default/button/btn.gif. To change the colour of the button, you will have to edit this sprite sheet or create new images for the colour of button you would like to use.
If you are planning to make extensive changes to the style of widgets in Ext GWT, consider making your own theme. Themes are generally placed in resources/themes and can contain your own custom CSS and images. Just link your theme's style sheet in your host page and make sure your CSS rules override those in the default theme.
maybe what you're looking for: http://www.sencha.com/forum/showthread.php?97011-Change-style-for-GXT-button-component

Resources