Skip to main content

Featured

Build docker image from multiple build contexts

Build docker image from multiple build contexts Building a docker image requires specifying a source of truth to include in the image from a local directory or a remote git repository. In the previous version, the docker BuildKit allows users to specify the build context from a single source of truth only. However, the engineers may need to have the context from different locations based on the type of files. For instance, icons, images or other resources that are not included in the same package, including the resource from other docker images. Fortunately, the Docker Buildx toolkit supports multiple build context flag for Docker 1.4. Let's learn how to use this new feature. The following list is a shortcut for jumping into a specific topic handy. What version of Docker is this tutorial targeting? How to specify the version of Dockerfile frontend? Ho

[VS神奇事件]Visual Studio無法開啟Find and Replace window

最近因為需要動到大量(20個以上)的macro定義的變更,所以常用Replace的功能來把macro define以及 TEXT macro取代掉。

不過取代個幾次後,就會發生Find and Replace window無法叫出的狀況。
就是說不論是去介面上按Find and Replace window的按鈕或是用Hot key去呼叫,就是看不到Find and Replace window的蹤跡。

原本以為是因為設定檔壞掉了,所以就把設定檔做reset的動作,然後再把一些設定還原。

後來跟同事討論,才發覺不是window不見了,而是Visual Studio把window的座標改了。

我的狀況是window跑到工作列的後面了,所以才看不到。

這時候只要把工作列隱藏起來,就可以看到Find and Replace window的caption了。

再把Find and Replace window拉回可視範圍內就ok嚕。


所以如果有要把文字取代成空字串的時候,還是要多注意嚕。XD
不過據說,文字內含空白好像也會有同樣的問題,不過我沒遇到。

Comments

Popular Posts